UNPKG

@nodesecure/js-x-ray

Version:
12 lines 423 B
// Import Internal Dependencies import { getVariableDeclarationIdentifiers } from "./getVariableDeclarationIdentifiers.js"; export function getParamNames(params) { const names = []; for (const param of params) { for (const { assignmentId } of getVariableDeclarationIdentifiers(param)) { names.push(assignmentId.name); } } return names; } //# sourceMappingURL=getParamNames.js.map