definedNotNull

definedNotNull(value)Boolean

Name Type Description
value Object The object.
Returns:
Returns true if the object is defined and not null, returns false otherwise.
Example:
if (Cesium.definedNotNull(positions)) {
     doSomething();
} else {
     doSomethingElse();
}