JLink`
JLink`
JavaObjectQ
JavaObjectQ[expr]
gives True if expr is a reference to a Java object or Null, and gives False otherwise.
Details
- To use JavaObjectQ, you first need to load J/Link using Needs["JLink`"].
JavaObjectQ[expr]
gives True if expr is a reference to a Java object or Null, and gives False otherwise.