Liking cljdoc? Tell your friends :D

agynamix.bitmask-roles


bitmask-permission-resolverclj/s

(bitmask-permission-resolver role-names)

Takes one or more number values, flattens them into their bitmask values, and creates a flat set of permissions associated to thise bitmask values interpreted as roles

Takes one or more number values, flattens them into their bitmask values, and creates a flat
set of permissions associated to thise bitmask values interpreted as roles
sourceraw docstring

bitmask-role-resolverclj/s

(bitmask-role-resolver role-names)

Flattens one or more bitmask values into a set of numbers with only a single bit set. For instance 5 would be flattened into #{1 2 4}

Flattens one or more bitmask values into a set of numbers with only a single bit set.
For instance 5 would be flattened into #{1 2 4}
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close