Skip to main content
Version: 1.0.2

is.instanceOf

is.instanceOf(target: unknown, classRef: Function)โ€‹

Specificationโ€‹

  • Target and classRef arguments: required.
  • Checks if the given "target" type instance of classRef.

Informationโ€‹

  • Unit tests: โœ…

// And all other known types will return false

// Reversal boolean result

// And all other known types will return true