Test if a node is a PropertyNameLiteral.
PropertyNameLiteral
Whether the given node appears to be a PropertyNameLiteral.
declare const node: ts.Node;if (isPropertyNameLiteral(node)) { // ...} Copy
declare const node: ts.Node;if (isPropertyNameLiteral(node)) { // ...}
Test if a node is a
PropertyNameLiteral
.