package
0.0.0-20241230143329-11160f46cff3
Repository: https://github.com/blockinfinity/fp-go.git
Documentation: pkg.go.dev

# Functions

Execute a function that returns an Option on the Option value if it exists.
Returns `false` if `None` or returns the boolean result of the application of the given predicate to the `Some` value.
Removes one level of nesting.
Constructor of Option from any couple of mutually exclusive `value` and `error`.
Constructor of Option from any lazy function that returns a couple of mutually exclusive `value` and `error`.
Constructor of Option from a predicate.
Extracts the value out of the Option, if it exists.
Helper to check if the Option is missing the value.
Helper to check if the Option has a value.
Execute the function on the Option value if it exists.
Extracts the value out of the Option, if it exists, with a function.
Constructor for Option without a value.
Constructor for Option with a value.

# Structs

Base struct.