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.

6 lines 269 B
import { both, hasIn } from 'ramda'; import isObj from '../isObj.js'; import isSymbol from '../isSymbol.js'; import neither from '../neither.js'; var isCoercible = neither(isSymbol, both(isObj, neither(hasIn('toString'), hasIn('valueOf')))); export default isCoercible;