source: node_modules/ramda-adjunct/es/internal/ponyfills/Math.sign.js@ d24f17c

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: 131 bytes
Line 
1var signPonyfill = function signPonyfill(number) {
2 return (number > 0) - (number < 0) || +number;
3};
4export default signPonyfill;
Note: See TracBrowser for help on using the repository browser.