Skip to main content
Version: 2.0.3

is.function

is.function(target: Function | AsyncFunction | GeneratorFunction)โ€‹

Specificationโ€‹

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

Informationโ€‹

  • Unit tests: โœ…

// And all other known types will return false

// Reversal boolean result

// And all other known types will return true