swc/bundler/tests/.cache/deno/9985aff73012127ae1e5c05ce1f7943e112b0656.ts
강동윤 bbaf619f63
fix(bundler): Fix bugs (#1437)
swc_bundler:
 - [x] Fix wrapped esms. (denoland/deno#9307)
 - [x] Make test secure.
2021-03-02 17:33:03 +09:00

30 lines
664 B
TypeScript

// Loaded from https://deno.land/x/ramda@v0.27.2/source/not.js
import _curry1 from './internal/_curry1.js';
/**
* A function that returns the `!` of its argument. It will return `true` when
* passed false-y value, and `false` when passed a truth-y one.
*
* @func
* @memberOf R
* @since v0.1.0
* @category Logic
* @sig * -> Boolean
* @param {*} a any value
* @return {Boolean} the logical inverse of passed argument.
* @see R.complement
* @example
*
* R.not(true); //=> false
* R.not(false); //=> true
* R.not(0); //=> true
* R.not(1); //=> false
*/
var not = _curry1(function not(a) {
return !a;
});
export default not;