Grouping
t
RESCRIPT
type t
parsed
RESCRIPT
type parsed = [#always | #auto | #bool(bool) | #min2]
fromBool
RESCRIPT
let fromBool: bool => t
fromString
RESCRIPT
let fromString: [#always | #auto | #min2] => t
parseJsValue
RESCRIPT
let parseJsValue: 'a => option<[> #always | #auto | #bool(bool) | #min2]>
ignore
RESCRIPT
let ignore: t => unit
ignore(grouping)
ignores the provided grouping 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.