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.

5 lines (4 loc) 132 B
var signPolyfill = function signPolyfill(number) { return (number > 0) - (number < 0) || +number; }; export default signPolyfill;