'use strict';
const { complement } = require('ramda');
const isAsyncFunction = require('./isAsyncFunction');
/* eslint-disable max-len */
/**
* Checks if input value is complement of `Async Function`
*
* @func isNotAsyncFunction
* @memberOf RA
* @since {@link https://char0n.github.io/ramda-adjunct/0.5.0|v0.5.0}
* @category Type
* @sig * -> Boolean
* @param {*} val The value to test
* @return {Boolean}
* @see {@link RA.isFunction|isFunction}, {@link RA.isAsyncFunction|isAsyncFunction}, {@link RA.isGeneratorFunction|isGeneratorFunction}
* @example
*
* RA.isNotAsyncFunction(async function test() { }); //=> false
* RA.isNotAsyncFunction(null); //=> true
* RA.isNotAsyncFunction(function test() { }); //=> true
* RA.isNotAsyncFunction(() => {}); //=> true
*/
/* eslint-enable max-len */
module.exports = complement(isAsyncFunction);