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.

4 lines 131 B
var signPonyfill = function signPonyfill(number) { return (number > 0) - (number < 0) || +number; }; export default signPonyfill;