Events.Object.IsNew
-------------------

Returns 1 if this object has never been saved, else 0.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Events](component_Events.md) | [6.2](newinversion62.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "Events.Object.IsNew"; EKObject ) 

**MBS**( **"Events.Object.IsNew";** /\* Returns 1 if this object has never been saved, else 0. \*/  
**$EKObject**) /\* The reference to the object.  
This can be an alarm, source, participiant, structured locacation, recurrence rule, calendar or calendar item.e.g. $item \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| EKObject | The reference to the object.   This can be an alarm, source, participiant, structured locacation, recurrence rule, calendar or calendar item. | $item |

### Result

Returns 1, 0 or error.

### Description

Returns 1 if this object has never been saved, else 0.  
### Examples

Check if an alarm is new:

 MBS ( "Events.Object.IsNew"; "56001" )  
### See also

- [Events.Object.Reset](EventsObjectReset.md)

This function is free to use.

Created 10th March 2016 , last changed 13th March 2016

  
[Events.Object.HasChanges](EventsObjectHasChanges.md) - [Events.Object.Refresh](EventsObjectRefresh.md)

[HTML Version](EventsObjectIsNew.shtml)