MCPcopy Create free account
hub / github.com/OptimalBits/node_acl / makeArray

Function makeArray

lib/mongodb-backend.js:260–262  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

258}
259
260function makeArray(arr){
261 return Array.isArray(arr) ? encodeAll(arr) : [encodeText(arr)];
262}
263
264exports = module.exports = MongoDBBackend;

Callers 1

mongodb-backend.jsFile · 0.70

Calls 2

encodeAllFunction · 0.85
encodeTextFunction · 0.85

Tested by

no test coverage detected