/** * A function that checks if the passed parameter is truthy and narrows its type accordingly. * * @param data - The variable to check. * @returns True if the passed input is truthy, false otherwise. * @signature * R.isTruthy(data) * @example * R.isTruthy('somethingElse') //=> true * R.isTruthy(null) //=> false * R.isTruthy(undefined) //=> false * R.isTruthy(false) //=> false * R.isTruthy(0) //=> false * R.isTruthy('') //=> false * @category Guard */ declare function isTruthy(data: T): data is Exclude; export { isTruthy };