Ordering
t
RESCRIPT
type t = float
less
RESCRIPT
let less: float
equal
RESCRIPT
let equal: float
greater
RESCRIPT
let greater: float
isLess
RESCRIPT
let isLess: float => bool
isEqual
RESCRIPT
let isEqual: float => bool
isGreater
RESCRIPT
let isGreater: float => bool
invert
RESCRIPT
let invert: float => float
fromInt
RESCRIPT
let fromInt: int => float
ignore
RESCRIPT
let ignore: t => unit
ignore(ordering)
ignores the provided ordering and returns unit.
This helper is useful when you want to discard a value (for example, the result of an operation with side effects) without having to store or process it further.