Grouping
t
RESCRIPT
type tparsed
RESCRIPT
type parsed = [#always | #auto | #bool(bool) | #min2]fromBool
RESCRIPT
let fromBool: bool => tfromString
RESCRIPT
let fromString: [#always | #auto | #min2] => tparseJsValue
RESCRIPT
let parseJsValue: 'a => option<[> #always | #auto | #bool(bool) | #min2]>ignore
RESCRIPT
let ignore: t => unitignore(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.