Skip to content

Function_evisit_core_js_utils_instanceof

Wyatt Greenway edited this page Jan 31, 2017 · 3 revisions

function instanceOf(obj, types...)

Parameters

  • obj
    • (Object) >>> Object to check
  • types...
    • (String|Constructor) Data type(s) to check against

Return value

  • (Boolean) true if object matches any one of types, false if not.

Description

Check to see if object is any of the specified data types.


Clone this wiki locally