areEqualPossiblyUndefined Function

Compare two possibly-undefined values for equality. If both are undefined, the comparison is performed by the supplied areEqual function.

areEqualPossiblyUndefined<T, U>(t: undefined | T, u: undefined | U, areEqual: (t: T, u: U) => boolean): boolean

Parameter Type Description
t undefined | T  
u undefined | U  
areEqual (t: T, u: U) => boolean  

Returns - boolean

Defined in

Last Updated: 12 June, 2024