The nsjava::isnull Command


Usage:

nsjava::isnull javaObj

The nsjava::isnull command is used to tell if a Java reference has the null value. The javaObj argument specifies an object handle. If the object has the null value, nsjava::isnull will return 1. If the object is a Java object then nsjava::isnull will return 0. If the object is not a valid Java object but rather a standard Tcl string, nsjava::isnull will return an error stating that the argument was not a Java object handle.

Copyright © 1997-1998 Sun Microsystems, Inc.