js-util

Home > rc-js-util > fpNormalizeToUndefined

fpNormalizeToUndefined() function

Normalizes null input to undefined.

Signature:

export declare function fpNormalizeToUndefined<TValue>(value: TValue): Exclude<TValue, null> | undefined;

Parameters

Parameter Type Description
value TValue  

Returns:

Exclude<TValue, null> | undefined

Remarks

See fpNormalizeToUndefined().