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).
Type Parameters
Section titled “Type Parameters”A
B
Parameters
Section titled “Parameters”These<A, B>
Returns
Section titled “Returns”data is TheseFirst<A> | TheseBoth<A, B>