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

Last Updated: 11 June, 2024