MCPcopy Create free account
hub / github.com/Wisembly/basil.js / _toStoragesArray

Function _toStoragesArray

src/basil.js:84–88  ·  view source on GitHub ↗
(storages)

Source from the content-addressed store, hash-verified

82 return (type === 'string' && key) || type === 'number' || type === 'boolean';
83 },
84 _toStoragesArray = function (storages) {
85 if (Basil.utils.isArray(storages))
86 return storages;
87 return Basil.utils.isString(storages) ? [storages] : [];
88 },
89 _toStoredKey = function (namespace, path, delimiter) {
90 var key = '';
91 if (_isValidKey(path)) {

Callers 1

basil.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected