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

Function IsForInOrOfStatement

internal/ast/utilities.go:170–172  ·  view source on GitHub ↗
(node *Node)

Source from the content-addressed store, hash-verified

168}
169
170func IsForInOrOfStatement(node *Node) bool {
171 return node != nil && (node.Kind == KindForInStatement || node.Kind == KindForOfStatement)
172}
173
174// A node is an assignment target if it is on the left hand side of an '=' token, if it is parented by a property
175// assignment in an object literal that is an assignment target, or if it is parented by an array literal that is

Calls

no outgoing calls

Tested by

no test coverage detected