Reference
hasModuleDirective
Checks whether a module begins with a specific directive string.
Signature
function hasModuleDirective(input: { code: string; directive: string; filename?: string }): booleanReference
Checks whether a module begins with a specific directive string.
function hasModuleDirective(input: { code: string; directive: string; filename?: string }): boolean