• NVL is a null coalescing function required for STEP.

    Type Parameters

    • T

    Parameters

    • testValue: undefined | null | T

      The value to test.

    • replaceValue: T

      The value to replace it with if the test fails.

    Returns T

    Test value if it's not nullish, replaceValue otherwise.