charton API / @chart-on/ui / index / presetQuantity
Function: presetQuantity()
presetQuantity(
preset,max):number|null
Defined in: ui/src/draft-editor.ts:34
The quantity a preset stands for, or null when it needs a maximum that is not known (or not positive).
Parameters
preset
max
number | null
Returns
number | null