Basically used to determine if something is falsy or is an empty collection of sorts.

This function is valid in v2.1.0 to v2.24.2. This function has been downloaded 40 times.


{*} value
Value to check.
{boolean=} opt_strict Optional, Default:false
Ordinarilly isFalsy() will check if a value is falsy or is an empty collection. If this argument is true-ish isFalsy() will not check value to see if it is an empty collection but will only return the equivalent of !value.


Returns false if value is an empty array, arguments list, node list, element collection, or string. Returns false if value is an object of type Object which has no properties of its own defined. Returns false if value is falsy. In all other cases, true is returned.

Required Functions

This function directly requires the following functions which are included automatically:

  • isArrayLike()
    Determines if an object is an array or at least array-like.
  • isEmpty()
    Determines if an array, arguments list, other type of list or collection is empty. Also can be used on objects to ensure that it doesn't have any properties explicitly set.