Skip to content

Model Object

setProperties()

setProperties() — returns void

Available in: model Category: Miscellaneous Functions

Allows you to set all the properties of an object at once by passing in a structure with keys matching the property names.

NameTypeRequiredDefaultDescription
propertiesstructno[runtime expression]The properties you want to set on the object (can also be passed in as named arguments).