Creates an Option from any value. Alias for Option function.
Creates an Option from binary string
Creates an Option from JSON string
Creates an Option from YAML string
Type guard to check if an Option is None
Type guard to check if an Option is Some
Returns a None instance. Alias for None function.
Combines an array of Options into a single Option containing an array. Short-circuits on the first None.
Maps an array through a function returning Option, then sequences the results.
Short-circuits on the first None — f is not invoked for elements after the
first None result.
Safely wraps a value that might be null or undefined in an Option. Creates Some if the value is defined, None otherwise.