It turns out testing if an async function is an async function is a bad idea.
Since an async function should be treated like a function (returning a Promise, but ... it's a function)
What about using this test to know if a function is a function ? (It is compatible with IE11)
It turns out testing if an async function is an async function is a bad idea. Since an async function should be treated like a function (returning a Promise, but ... it's a function) What about using this test to know if a function is a function ? (It is compatible with IE11)