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


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.


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

Parent JavaScript client-side API