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: T, u: U, areEqual: (t: T, u: U) => boolean): boolean

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

Returns - boolean

Defined in

Last Updated: 21 November, 2024