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

Function makeArray

lib/acl.js:817–819  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

815//-----------------------------------------------------------------------------
816
817function makeArray(arr){
818 return Array.isArray(arr) ? arr : [arr];
819}
820
821function allowsBucket(role){
822 return 'allows_'+role;

Callers 1

acl.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected