Function nullishLast

  • Compares two values and puts null and undefined last. Returns 0 if both values are null-ish or not null-ish.

    See

    nullishFirst

    Type Parameters

    Type Parameters

    • T

    Parameters

    • a: T

      first value

    • b: T

      second value

    Returns number

Generated using TypeDoc