Searched refs:isAsyncFunction (Results 1 – 16 of 16) sorted by relevance
2 isAsyncFunction(value: unknown): value is (...args: unknown[]) => Promise<unknown>;
26 const { isAsyncFunction, isArrayBufferView } = require('../ours/util').types403 …if (typeof value !== 'function' || isAsyncFunction(value)) throw new ERR_INVALID_ARG_TYPE(name, 'F…
34 isAsyncFunction,452 if (typeof value !== 'function' || isAsyncFunction(value))
119 isAsyncFunction(fn) { method
116 return !isAsyncFunction(node) &&
350 this.isAsyncFunction = function (...args) { method
172 else if (isAsyncFunction(node)) {
126 isAsyncFunction,1194 if (isAsyncFunction(value)) {
3343 if (isAsyncFunction(node)) {3360 if (isAsyncFunction(node)) {3373 … if (!file.isDeclarationFile && !(node.flags & NodeFlags.Ambient) && isAsyncFunction(node)) {
3449 export function isAsyncFunction(node: Node): boolean { function
869 pp$8.isAsyncFunction = function() { function952 if (this.isAsyncFunction()) {1728 if (this.type === types$1._function || (isAsync = this.isAsyncFunction())) {1795 this.isAsyncFunction()
863 pp$8.isAsyncFunction = function() { function946 if (this.isAsyncFunction()) {1722 if (this.type === types$1._function || (isAsync = this.isAsyncFunction())) {1789 this.isAsyncFunction()
2123 ### `util.types.isAsyncFunction(value)`2138 util.types.isAsyncFunction(function foo() {}); // Returns false2139 util.types.isAsyncFunction(async function foo() {}); // Returns true
17830 function isAsyncFunction(node) { function17842 ts.isAsyncFunction = isAsyncFunction;50121 if (ts.isAsyncFunction(node)) {50136 if (ts.isAsyncFunction(node)) {50148 …sDeclarationFile && !(node.flags & 16777216 /* NodeFlags.Ambient */) && ts.isAsyncFunction(node)) {99661 else if (ts.isAsyncFunction(node)) {
14037 function isAsyncFunction(node) { function14049 ts.isAsyncFunction = isAsyncFunction;41376 if (ts.isAsyncFunction(node)) {41391 if (ts.isAsyncFunction(node)) {41403 if (!file.isDeclarationFile && !(node.flags & 16777216) && ts.isAsyncFunction(node)) {83879 else if (ts.isAsyncFunction(node)) {
29972 const names = Object.keys(context).filter((k) => isAsyncFunction(context[k]));30004 function isAsyncFunction(v) {