Bandera. Group protocol
(bandera v0.1.0)
Copy Markdown
Determines whether a given item (actor) belongs to a named group. Group names are compared as strings.
The built-in Map implementation reads a :groups list; binaries and integers
belong to no group. Define the protocol for your own type to plug in custom group
membership.
Summary
Functions
Returns true if item belongs to the group named group_name.
Types
@type t() :: term()
All the types that implement this protocol.