The isJavaObject method returns whether obj is an object of the Java language. It returns false for native JavaScript objects, as well as for objects of other polyglot languages.
isJavaObject
obj
false
The
isJavaObjectmethod returns whetherobjis an object of the Java language. It returnsfalsefor native JavaScript objects, as well as for objects of other polyglot languages.