float
const float: FloatPrimitiveFloating-point number primitive with optional chainable range constraints.
Example:
float // any numberfloat.min(0).max(1) // probability rangeThrows:
When the raw value fails this primitive’s validation.
Learn: Primitives and builders