is-odd-react
v1.1.2
Published
A simple React utility to check if a number is odd. Returns true if the number is odd, false otherwise. Ideal for quick validation in React projects.
Downloads
9
Readme
Install
Install with npm:
npm install is-odd-react
Usage
import isOdd from "is-odd-react";
console.log(isOdd(1)); // true
console.log(isOdd(2)); // false