defined

defined(value)Boolean

Name Type Description
value *

The object.

Returns:

Returns true if the object is defined, returns false otherwise.

Example:
if (CooWasm.defined(positions)) {
     doSomething()
} else {
     doSomethingElse()
}