resolveValue MethodStatic
If given a value, return it. If given undefined, return defaultValue
.
resolveValue<T>(value: undefined | T, defaultValue: T): T
Parameter | Type | Description |
---|---|---|
value | undefined | T | |
defaultValue | T |
Returns - T
Defined in
- Geometry.ts Line 664
Last Updated: 30 November, 2023