# definedNotNull

#### definedNotNull(value) → Boolean
Core/definedNotNull.js 18

  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();
      }