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

Function HasStaticModifier

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

Source from the content-addressed store, hash-verified

1023}
1024
1025func HasStaticModifier(node *Node) bool {
1026 return HasSyntacticModifier(node, ModifierFlagsStatic)
1027}
1028
1029func IsStatic(node *Node) bool {
1030 // https://tc39.es/ecma262/#sec-static-semantics-isstatic

Calls 1

HasSyntacticModifierFunction · 0.85

Tested by

no test coverage detected