js-util

Home > rc-js-util > fpNormalizeToNull

fpNormalizeToNull() function

Normalizes undefined input to null.

Signature:

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

Parameters

Parameter Type Description
value TValue  

Returns:

Exclude<TValue, undefined> | null

Remarks

See fpNormalizeToNull().