tguard-js
    Preparing search index...

    Function isEmptyArray

    • Determines whether the provided value is an empty array.

      Value Result
      [] true
      [1] false
      [,] false
      {} false

      Parameters

      • x: unknown

        The value to be checked.

      Returns x is []

      true if the value is an empty array, otherwise false.

      1.0