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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

Preferences.HasValue

Checks if a preference value is defined.

Component Version macOS Windows Linux Server iOS SDK
Preferences 6.0 ✅ Yes ✅ Yes ❌ No ✅ Yes, on macOS and Windows ✅ Yes
MBS( "Preferences.HasValue"; Domain; Key )   More

Parameters

Parameter Description Example
Domain The domain name for your preferences. Leave empty for default one. "de.mbsplugins.MyApp"
Key The key for the value lookup. "Username"

Result

Returns 0, 1 or error.

Description

Checks if a preference value is defined.

See also

Example Databases

Blog Entries

This function checks for a license.

Created 4th January 2016, last changed 4th July 2019


Preferences.GetValueType - Preferences.List

💬 Ask a question or report a problem