FanFarm / system / V3fanfarm-ubuntu-local / V3fanfarm-frontend / node_modules / is-async-function /
@Fanfarm User Fanfarm User authored on 12 Sep
..
test Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
.eslintrc Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
.nycrc Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
CHANGELOG.md Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
LICENSE Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
README.md Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
index.d.ts Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
index.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
package.json Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
tsconfig.json Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
README.md

is-async-function Version Badge

github actions
coverage
dependency status
dev dependency status
License
Downloads

npm badge

Is this a native async function?

Example

var isAsyncFunction = require('is-async-function');
assert(!isAsyncFunction(function () {}));
assert(!isAsyncFunction(null));
assert(!isAsyncFunction(function* () { yield 42; return Infinity; }));
assert(isAsyncFunction(async function () {}));

Tests

Simply clone the repo, npm install, and run npm test