Skip to content

charton API


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

Function: inSession() ​

inSession(session, wall): boolean

Defined in: packages/core/src/util/session.ts:97

Whether a wall-clock time falls inside the session (always true without one).

Parameters ​

session ​

CompiledSession | null

wall ​

number

Returns ​

boolean