@laserware/arcade
    Preparing search index...

    Function isEmpty

    • Checks if the specified value is empty.

      The definition of empty in this case is:

      • The value is null or undefined.
      • If the value is a string, the value is an empty string ("").
      • If the value is an array, the array has no elements.
      • If the value is a Map or Set, the size is 0.
      • If the value is an object, it has no properties.

      Parameters

      • value: unknown

        Value to check for emptiness.

      Returns boolean

      true if the specified value meets the criteria for being empty.