MCPcopy Create free account
hub / github.com/babel/babel / isAsyncFunction

Function isAsyncFunction

packages/babel-parser/src/parser/statement.ts:2500–2504  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2498 }
2499
2500 isAsyncFunction(): boolean {
2501 if (!this.isContextual(tt._async)) return false;
2502 const next = this.nextTokenInLineStart();
2503 return this.isUnparsedContextual(next, "function");
2504 }
2505
2506 parseExportDefaultExpression(
2507 this: Parser,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected