Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

JavaScript.HasProperty

Checks if a property is defined.

Component Version macOS Windows Linux Server iOS SDK
JavaScriptMac 5.4 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ 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

Created 5th November 2015, last changed 9th January 2020


JavaScript.GetProperty - JavaScript.New

Feedback: Report problem or ask question.