Function isEmpty

  • Example

    import * as A from "flurp/array";

    A.isEmpty([]); // true
    A.isEmpty([2]); // false

    Type Parameters

    • T

    Parameters

    • arr: readonly T[]

    Returns boolean