MCPcopy Create free account
hub / github.com/nodejs/node / isSynthBindingPattern

Function isSynthBindingPattern

test/fixtures/snapshot/typescript.js:152079–152081  ·  view source on GitHub ↗
(bindingName)

Source from the content-addressed store, hash-verified

152077 return bindingName.kind === 0 /* SynthBindingNameKind.Identifier */;
152078 }
152079 function isSynthBindingPattern(bindingName) {
152080 return bindingName.kind === 1 /* SynthBindingNameKind.BindingPattern */;
152081 }
152082 function shouldReturn(expression, transformer) {
152083 return !!expression.original && transformer.setOfExpressionsToReturn.has(ts.getNodeId(expression.original));
152084 }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected