resolveToUndefined MethodStatic

If given value matches the targetValue, return undefined. Otherwise return the value.

resolveToUndefined<T>(value: T, targetValue: T): undefined | T

Parameter Type Description
value T  
targetValue T  

Returns - undefined | T

Defined in

Last Updated: 14 November, 2024