Function nullsLast

  • Comparator that orders null or undefined values after anything else.

    Parameters

    • a: unknown
    • b: unknown

    Returns number