method ast.DirectiveDefinition.prototype.hasLocationRe-exportimport { ast } from "https://deno.land/x/apex_core@v0.1.0/mod.ts"; const { DirectiveDefinition } = ast; hasLocation(location: string): booleanParameterslocation: stringReturnsboolean