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 | |
---|
1 | import { both, hasIn } from 'ramda';
|
---|
2 | import isObj from '../isObj';
|
---|
3 | import isSymbol from '../isSymbol';
|
---|
4 | import neither from '../neither';
|
---|
5 | var isCoercible = neither(isSymbol, both(isObj, neither(hasIn('toString'), hasIn('valueOf'))));
|
---|
6 | export default isCoercible; |
---|
Note:
See
TracBrowser
for help on using the repository browser.