Given a class, returns a Predicate function that returns true if the object is of that class

  • Parameters

    • ctor: any

    Returns ((obj: any) => boolean)

      • (obj): boolean
      • Parameters

        • obj: any

        Returns boolean