MCPcopy Create free account
hub / github.com/SWI-Prolog/packages-jpl / methodStaticTermIsJNull

Method methodStaticTermIsJNull

src/test/java/org/jpl7/Test.java:259–261  ·  view source on GitHub ↗
(Term t)

Source from the content-addressed store, hash-verified

257 }
258
259 public static boolean methodStaticTermIsJNull(Term t) {
260 return t.hasFunctor("@", 1) && t.arg(1).hasFunctor("null", 0);
261 }
262
263 public boolean methodInstanceTermIsJNull(Term t) {
264 return t.hasFunctor("@", 1) && t.arg(1).hasFunctor("null", 0);

Callers

nothing calls this directly

Calls 2

hasFunctorMethod · 0.45
argMethod · 0.45

Tested by

no test coverage detected