@web3r/flowerkit
Version:
A collection of more than 60 often used utility JS functions that simplify frontend development.
12 lines • 327 B
TypeScript
/**
* Checks if function is async
* @param fn{*} - source function
* @return {boolean}
* @example
* // How to check if function is async?
* const fn = async () => {};
* const isAsync = isFnAsync(fn);
* console.log(isAsync); // => true
*/
export function isFnAsync(fn: any): boolean;
//# sourceMappingURL=index.d.ts.map