import { identical, curryN } from 'ramda';
/**
* Checks if input value is the Boolean primitive `true`. Will return false for Boolean objects
* created using the `Boolean` function as a constructor.
*
* @func isTrue
* @memberOf RA
* @since {@link https://char0n.github.io/ramda-adjunct/2.6.0|v2.6.0}
* @category Type
* @sig * -> Boolean
* @param {*} val The value to test
* @return {boolean}
* @see {@link RA.isFalse|isFalse}, {@link RA.isTruthy|isTruthy}, {@link RA.isFalsy|isFalsy}
* @example
*
* RA.isTrue(true); // => true
* RA.isTrue(Boolean(true)); // => true
* RA.isTrue(false); // => false
* RA.isTrue(1); // => false
* RA.isTrue('true'); // => false
* RA.isTrue(new Boolean(true)); // => false
*/
const isTrue = curryN(1, identical(true));
export default isTrue;