ScalarTypeHelper

ScalarTypeHelper #

@furo/furo-data v2.18.0
import '@furo/data/src/lib/ScalarTypeHelper.js';
exports ScalarTypeHelper js


Attributes and Properties #

Methods #

defaultForType #

defaultForType(type `` ) ⟹ void

  • type

indeterminateDefault #

indeterminateDefault() ⟹ void



isNumericType #

isNumericType(type `` ) ⟹ boolean

checks if a type is numeric (usefull when you want to compare min or max constraints)

  • type

isScalarType #

isScalarType(type `` ) ⟹ boolean

checks if a type is scalar

  • type