Skip to main content

Type Alias: Conditional<T>

Conditional<T> = T | false | null | undefined

Defined in: scripts/types.ts:18

A value that may be omitted from a beat array.

Falsy entries are skipped when the cursor reaches them, which lets conditional beats be written inline with &&.

Type Parameters

T

T