Skip to content

Function: isHook()

Documentation / @wtf/project-resolve / env / isHook

function isHook(specifier): boolean;

Defined in: packages/project-resolve/src/env.ts:34

Whether specifier, as --import takes it, is the module of the resolve hook.

Parameters

ParameterType
specifierstring

Returns

boolean