areEqualAllowUndefined MethodStatic
Test for match of two values of type T.
areEqualAllowUndefined<T>(a: T, b: T, resultIfBothUndefined: boolean = true): boolean
@returns true if both values are defined and equal (with ===) and false if both values are defined
but not equal or if one is defined and the other undefined.
| Parameter | Type | Description |
|---|---|---|
| a | T | first value |
| b | T | second value |
| resultIfBothUndefined | boolean | returned value when both are undefined |
Returns - boolean
true if both values are defined and equal (with ===) and false if both values are defined
but not equal or if one is defined and the other undefined.
Defined in
- Geometry.ts Line 1374
Last Updated: 28 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.