• If the value is undefined then will return prevValue. If the value is null then will return undefined;

    Parameters

    • newValue: any
    • prevValue: any

    Returns any