Skip to main content
Version: Next

is.empty

is.empty(target: Map | Array | String | Object | Set)โ€‹

Specificationโ€‹

  • Target argument: required.
  • Checks if the given "target" type is empty.

Informationโ€‹

  • Unit tests: โœ…

// And all other known types will return false

// Reversal boolean result

// And all other known types will return true