resolveValue MethodStatic
If given a value
, return it. If given undefined
, return defaultValue
.
resolveValue<T>(value: T, defaultValue: T): T
Parameter | Type | Description |
---|---|---|
value | T | |
defaultValue | T |
Returns - T
Defined in
- Geometry.ts Line 907
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.