UNPKG

astx

Version:

super powerful structural search and replace for JavaScript and TypeScript to automate your refactoring

10 lines (8 loc) 180 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.pathIs = pathIs; function pathIs(path, namedType) { return namedType.check(path.value); }