Skip to main content
Version: 1.0.2

is.HTMLCanvasElement

is.HTMLCanvasElement(target: unknown)โ€‹

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

// And all other known types will return false

// Reversal boolean result

// And all other known types will return true