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 (2 loc) 103 B
const signPolyfill = (number) => (number > 0) - (number < 0) || +number; export default signPolyfill;