UNPKG

is-greater-than

Version:
77 lines (53 loc) • 2.33 kB
<h1 align="center">Welcome to is-greater-than šŸ‘‹</h1> <p> <a href="https://www.npmjs.com/package/is-greater-than" target="_blank"> <img alt="Version" src="https://img.shields.io/npm/v/is-greater-than.svg"> </a> <a href="https://github.com/AprixStudios/is-greater-than#readme" target="_blank"> <img alt="Documentation" src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" /> </a> <a href="https://github.com/AprixStudios/is-greater-than/graphs/commit-activity" target="_blank"> <img alt="Maintenance" src="https://img.shields.io/badge/Maintained%3F-yes-green.svg" /> </a> <a href="https://github.com/AprixStudios/is-greater-than/blob/master/LICENSE" target="_blank"> <img alt="License: ISC" src="https://img.shields.io/github/license/Aprixia/is-greater-than" /> </a> <a href="https://twitter.com/Aprixiaa" target="_blank"> <img alt="Twitter: Aprixiaa" src="https://img.shields.io/twitter/follow/Aprixiaa.svg?style=social" /> </a> </p> > Determines if x is greater than y ### šŸ  [Homepage](https://github.com/AprixStudios/is-greater-than#readme) ## Install ```sh npm install ``` ## Run tests ```sh npm run test ``` ## Example ```js const isGreaterThan = require('is-greater-than'); isGreaterThan(1,2) // False isGreaterThan('69', '666') // False isGreaterThan(727, 420) // True isGreaterThan('2.7e5', '3.9e3') // True ``` ## Author šŸ‘¤ **AprixStudios** * Website: https://aprixstudios.xyz/ * Twitter: [@Aprixiaa](https://twitter.com/Aprixiaa) * Github: [@Aprixia](https://github.com/Aprixia) ## šŸ¤ Contributing Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](https://github.com/AprixStudios/is-greater-than/issues). ## Show your support Give a ā­ļø if this project helped you! <a href="https://www.patreon.com/Aprixia"> <img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" width="160"> </a> ## šŸ“ License Copyright Ā© 2020 [AprixStudios](https://github.com/AprixStudios).<br /> This project is [MIT](https://github.com/AprixStudios/is-greater-than/blob/master/LICENSE) licensed. *** _This README was generated with ā¤ļø by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_