MCPcopy Create free account
hub / github.com/babel/babel / isSimpleParamList

Function isSimpleParamList

packages/babel-parser/src/parser/expression.ts:2696–2703  ·  view source on GitHub ↗
(
    params: readonly (N.FunctionParameter | N.TSParameterProperty)[],
  )

Source from the content-addressed store, hash-verified

2694 }
2695
2696 isSimpleParamList(
2697 params: readonly (N.FunctionParameter | N.TSParameterProperty)[],
2698 ): boolean {
2699 for (let i = 0, len = params.length; i < len; i++) {
2700 if (!this.isSimpleParameter(params[i])) return false;
2701 }
2702 return true;
2703 }
2704
2705 checkParams(
2706 node: Undone<N.Function>,

Callers

nothing calls this directly

Calls 1

isSimpleParameterMethod · 0.80

Tested by

no test coverage detected