Applicative apply - applies a wrapped function to a wrapped value
Creates an Either from binary string
Creates an Either from JSON string
Creates an Either from a nullable value
Creates an Either based on a predicate
Creates an Either from a Promise
Creates an Either from YAML string
Type guard to check if an Either is Left
Type guard to check if an Either is Right
Creates a Left instance
Creates a Right instance
Combines an array of Eithers into a single Either containing an array
Maps an array through a function that returns Either, then sequences the results.
Short-circuits on the first Left: f is not called for the elements after it.
Async traverse: runs f over items and collects the Right values, stopping at the first Left.
Runs one call at a time, in order, by default. Pass { concurrency: n } to allow up to n calls at once,
or "unbounded" to start them all together. After a Left no new calls start; calls already running
finish, and the result is the Left of the earliest item that failed. A rejected promise rejects the result.
Creates a Right<L, void> — convenience for "operation succeeded with no meaningful value". Avoids variance quirks around Either<L, void> vs Either<L, undefined>.
Either constructor that creates Left or Right based on the isRight parameter