Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

JavaScript.HasProperty

Checks if a property is defined.

Component Version macOS Windows Linux Server iOS SDK
JavaScriptWebKit 5.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "JavaScript.HasProperty"; JavaScriptContext; PropertyName )   More

Parameters

Parameter Description Example
JavaScriptContext The reference number of the javascript context. $Context
PropertyName The name of the property. "FirstName"

Result

Returns 0, 1 or error.

Description

Checks if a property is defined.

See also

Example Databases

This function checks for a license.

Created 5th November 2015, last changed 9th February 2023


JavaScript.GetPropertyJSON - JavaScript.List