source: node_modules/ramda-adjunct/es/internal/isCoercible.js@ d24f17c

main
Last change on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 260 bytes
Line 
1import { both, hasIn } from 'ramda';
2import isObj from '../isObj';
3import isSymbol from '../isSymbol';
4import neither from '../neither';
5var isCoercible = neither(isSymbol, both(isObj, neither(hasIn('toString'), hasIn('valueOf'))));
6export default isCoercible;
Note: See TracBrowser for help on using the repository browser.