Found 2 packages
ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.
two functions: one that returns true, one that returns false