@graphty/graphty-element / catalog / isOptionBound
Function: isOptionBound() ​
isOptionBound(
value):value is OptionBound
Defined in: graphty-element/src/catalog/types.ts:1391
Tell whether an option bound is a reference to a measurement of the graph rather than a literal. A consumer that renders a slider needs the answer before it can label the end of the track, and catalog.optionsFor resolves the references away.
Parameters ​
value ​
unknown
The bound to test, as it appears on OptionDescriptor.min or .max.
Returns ​
value is OptionBound
True when the bound is an OptionBound reference.