Appearance
True Myth / maybe / toJSON
toJSON<T>(maybe): MaybeJSON<unknown>
T
maybe
MaybeJSON
unknown
Create an Object representation of a Maybe instance.
Object
Maybe
Useful for serialization. JSON.stringify() uses it.
JSON.stringify()
Maybe<T>
The value to convert to JSON
MaybeJSON<unknown>
The JSON representation of the Maybe