Skip to main content
Version: 1.x

defined

defined

defined(node);

Returns 1 if the given node evaluates to a "defined" value (that is to something that is non-null, non-undefined and non-NaN). Returns 0 otherwise.