Skip to content

hasError

hasError<E, A>(data): data is Err<E> | Both<E, A>

Defined in: Core/These.ts:86

Returns true if the These contains an error/warning (Err or Both).

E

A

These<E, A>

data is Err<E> | Both<E, A>