Checks if the given argument is a native boolean element.
typeof
to check if a value is classified as a boolean primitive.const isBoolean = val => typeof val === 'boolean';
isBoolean(null); // false
isBoolean(false); // true
JavaScript, Type
Checks if the given argument is an async
function.
JavaScript, Type
Checks if the given argument is a generator function.
JavaScript, Type
Checks if the given argument is a function.