JSObjectUtilExtension extension

Utility extensions for JSObject.

on

Methods

instanceof(JSFunction constructor) bool
instanceOfString(String constructorName) bool
Like instanceof, but only takes a String for the constructor name, which is then looked up in the globalContext.