1.7.3.2 first_match(HookPoint, Val)

-spec first_match(hookpoint(), _Input) -> {value,
                                           _Return} |
                                          false.

Pass Val to functions registered at HookPoint. Stop iteration and return {value, Ret} when hook returns {true, Ret}. Otherwise return false.

JavaScript license information