verifyHookExist

Make sure that the runtime hook id exists.

bool
verifyHookExist

Parameters

loc Loc

location to use for error messages

sc Scope

current scope

id Identifier

the hook identifier

description string

what the hook does

module_ Identifier

what module the hook is located in

Return Value

Type: bool

a bool indicating if the hook is present.

Meta