Skip to content

charton API


charton API / @chart-on/core / index / sessionLaneState

Function: sessionLaneState() ​

sessionLaneState(lane, now): SessionLaneState

Defined in: packages/core/src/session-bands.ts:158

Whether a lane is open at now, and when that next changes. Throws for an invalid lane.

Parameters ​

lane ​

SessionLane

now ​

number

Returns ​

SessionLaneState