Skip to content

ResultLike

ResultLike<T, E>

Represents a success or error that is either synchronous or asynchronous.

ts
type Example = ResultLike<boolean, string>;
// type Example = Result<boolean, string> | ResultP<boolean, string>;