MCPcopy Index your code
hub / github.com/Wisembly/basil.js / _isValidKey

Function _isValidKey

src/basil.js:80–83  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

78 .substring(7),
79 _storages = {},
80 _isValidKey = function (key) {
81 var type = Basil.utils.getTypeOf(key);
82 return (type === 'string' && key) || type === 'number' || type === 'boolean';
83 },
84 _toStoragesArray = function (storages) {
85 if (Basil.utils.isArray(storages))
86 return storages;

Callers 2

_toStoredKeyFunction · 0.85
_toKeyNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected