IBM Worklight v5.0.5 > API reference > IBM Worklight client-side API > JavaScript client-side API

WL.Client.hasUserPref

Check whether a specified user preference is defined locally in the application.

Parameter Description
key The user preference key.


Return Value

Returns true if the preference exists, false otherwise.


Exceptions

An exception is thrown when invalid parameters are passed to the function.


Parent JavaScript client-side API





+

Search Tips   |   Advanced Search