The callback invoked when setting a property’s value.
- iOS 7.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
The execution context to use.
The JSObject on which to set the property's value.
A JSString containing the name of the property to set.
A JSValue to use as the property's value.
A pointer to a JSValueRef in which to return an exception, if any.
true if the property was set, otherwise
If you named your function
Set, you would declare it like this:
If this function returns false, the set request forwards to object's statically declared properties, then its parent class chain (which includes the default object class).