UNPKG

ramda-adjunct

Version:

Ramda Adjunct is the most popular and most comprehensive set of utilities for use with Ramda, providing a variety of useful, well tested functions with excellent documentation.

21 lines (20 loc) 526 B
import { complement } from 'ramda'; import isString from './isString'; /** * Checks if input value is complement of `String`. * * @func isNotString * @memberOf RA * @since {@link https://char0n.github.io/ramda-adjunct/0.4.0|v0.4.0} * @category Type * @sig * -> Boolean * @param {*} val The value to test * @return {boolean} * @see {@link RA.isString|isString} * @example * * RA.isNotString('abc'); //=> false * RA.isNotString(1); //=> true */ var isNotString = complement(isString); export default isNotString;