@libraz/libcantus - v0.9.3
GitHub
npm
Preparing search index...
assertNoteEvents
Function assertNoteEvents
assertNoteEvents
(
events
:
NoteEvent
[]
,
name
?:
string
,
options
?:
{
allowNonPositiveDuration
?:
boolean
;
budget
?:
number
}
,
)
:
NoteEvent
[]
Validate an event array and its allocation budget without copying it.
Parameters
events
:
NoteEvent
[]
name
:
string
= 'note events'
options
:
{
allowNonPositiveDuration
?:
boolean
;
budget
?:
number
}
= {}
Returns
NoteEvent
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
npm
@libraz/libcantus - v0.9.3
Loading...
Validate an event array and its allocation budget without copying it.