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

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