MCPcopy Index your code
hub / github.com/nodejs/node / isOptionalPropertyDeclaration

Function isOptionalPropertyDeclaration

test/fixtures/snapshot/typescript.js:59568–59570  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

59566 return false;
59567 }
59568 function isOptionalPropertyDeclaration(node) {
59569 return ts.isPropertyDeclaration(node) && node.questionToken;
59570 }
59571 function isOptionalJSDocPropertyLikeTag(node) {
59572 if (!ts.isJSDocPropertyLikeTag(node)) {
59573 return false;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected