Functiondojox.storage.Provider.isValidKey

dojo.require("dojox.storage.Provider");
defined in dojox/storage/Provider.js

Boolean Subclasses can call this to ensure that the key given is valid in a consistent way across different storage providers. We use the lowest common denominator for key values allowed: only letters, numbers, and underscores are allowed. No spaces.

Usage

function (/*String*/ keyName) (view source)
parametertypedescription
keyNameString