package
0.0.0-20241230143329-11160f46cff3
Repository: https://github.com/blockinfinity/fp-go.git
Documentation: pkg.go.dev
# Functions
Returns `false` if `Left` or returns the boolean result of the application of the given predicate to the `Right` value.
Removes one level of nesting.
Constructor of Either from any couple of mutually exclusive `value` and `error`.
Constructor of Either from any lazy function that returns a couple of mutually exclusive `value` and `error`.
Constructor of Either from an Option.
Constructor of Either from a predicate.
Extracts the value out of the Either, if it exists.
Helper to check if the Either has an error.
Helper to check if the Either has a value.
Constructor for Either with a value.
Map over the Either value if it exists.
Map over the Either error if it exists.
Extracts the value out of the Either.
Constructor for Either with an error.