MCPcopy Create free account
hub / github.com/microsoft/typescript-go / IsAccessExpression

Function IsAccessExpression

internal/ast/utilities.go:479–481  ·  view source on GitHub ↗

Determines if a node is a property or element access expression

(node *Node)

Source from the content-addressed store, hash-verified

477
478// Determines if a node is a property or element access expression
479func IsAccessExpression(node *Node) bool {
480 return node.Kind == KindPropertyAccessExpression || node.Kind == KindElementAccessExpression
481}
482
483func isFunctionLikeDeclarationKind(kind Kind) bool {
484 switch kind {

Calls

no outgoing calls

Tested by

no test coverage detected