Skip to content

Model Object

hasProperty()

hasProperty() — returns boolean

Available in: model Category: Miscellaneous Functions

Returns true if the specified property name exists on the model.

NameTypeRequiredDefaultDescription
propertystringyesName of property to inspect.