• Returns true if the given object can be considered to be an instance of the class cls. This is done by testing the prototype chain of the object and checking at each level to see if the prototype is an instance of the given class.

    Parameters

    • object: any

      Object to test

    • cls: any

      Class to test for.

    Returns boolean

Version :