Skip to content

@liminal-hq/undertone / hasOnset

Function: hasOnset() ​

hasOnset(hap): boolean

Defined in: pattern.ts:58

True when the hap's part contains the event's onset, i.e. it should trigger.

Parameters ​

hap ​

Hap<unknown>

Returns ​

boolean