lib/tsJavaModule.js
function instanceOf(javaObject, className) {
        var fullName = fullyQualifiedName(className) || className;
        return smellsLikeJavaObject(javaObject) && _java.instanceOf(javaObject, fullName);
    }
function instanceOf(javaObject, className) {
        var fullName = fullyQualifiedName(className) || className;
        return smellsLikeJavaObject(javaObject) && _java.instanceOf(javaObject, fullName);
    }
function instanceOf ( javaObject , className ) { var fullName = fullyQualifiedName ( className ) || className ; return smellsLikeJavaObject ( javaObject ) && _java . instanceOf ( javaObject , fullName ) ; }
Returns true if javaObject is an instance of the named class, which may be a short className. Returns false if javaObject is not an instance of the named class. Throws an exception if the named class does not exist, or is an ambiguous short name.
Returns true if javaObject is an instance of the named class which may be a short className . Returns false if javaObject is not an instance of the named class . Throws an exception if the named class does not exist or is an ambiguous short name .