verifyHookExist

Make sure that the runtime hook id exists.

bool
verifyHookExist

Parameters

loc
Type: Loc

location to use for error messages

sc
Type: Scope

current scope

id

the hook identifier

description
Type: string

what the hook does

module_

what module the hook is located in

Return Value

Type: bool

a bool indicating if the hook is present.

Meta