MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / is_async

Method is_async

codegraph-kernel/src/tsjs/mod.rs:817–819  ·  view source on GitHub ↗
(&self, node: Node)

Source from the content-addressed store, hash-verified

815 }
816
817 fn is_async(&self, node: Node) -> bool {
818 self.has_keyword_child(node, "async")
819 }
820
821 /// TS has an isStatic hook; JS does not (None = field absent).
822 fn is_static(&self, node: Node) -> Option<bool> {

Callers 2

extract_functionMethod · 0.45
extract_methodMethod · 0.45

Calls 1

has_keyword_childMethod · 0.80

Tested by

no test coverage detected