Skip to content

hasFirst

hasFirst<A, B>(data): data is TheseFirst<A> | TheseBoth<A, B>

Defined in: Core/These.ts:86

Returns true if the These contains a first value (First or Both).

A

B

These<A, B>

data is TheseFirst<A> | TheseBoth<A, B>