Hook.assert
You're seeing just the function
assert
, go back to Hook module for more information.
Link to this function
assert(group \\ self())
Asserts that all callbacks defined via Hook.callback/4
have been satisfied.
Returns :ok
if the assertion holds, raises otherwise.
Infinity-callbacks and 0-callbacks are inherently satisfied.