Reference

hasModuleDirective

Checks whether a module begins with a specific directive string.

Signature

function hasModuleDirective(input: { code: string; directive: string; filename?: string }): boolean