Model Object
isNew()
Signature
Section titled “Signature”isNew() — returns boolean
Available in: model
Category: Miscellaneous Functions
Description
Section titled “Description”Returns true if this object hasn’t been saved yet (in other words, no matching record exists in the database yet).
Returns false if a record exists.