1.7.3.3 foreach(HookPoint, Arg)

-spec foreach(hookpoint(), term()) -> boolean().

Pass Arg to all functions registered at HookPoint. The hook type must be (Arg) -> boolean(). The return value is a boolean, calculated similar to lists:any/2.

JavaScript license information