# is-odd **Repository Path**: ArkTSCentralRepository/is-odd ## Basic Information - **Project Name**: is-odd - **Description**: Returns true if the given number is odd, and is an integer that does not exceed the JavaScript MAXIMUM_SAFE_INTEGER. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-03-28 - **Last Updated**: 2026-03-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # is-odd 基于[is-odd](https://www.npmjs.com/package/is-odd)原库3.0.1版本进行适配 > Returns true if the given number is odd, and is an integer that does not exceed the JavaScript MAXIMUM_SAFE_INTEGER. ## Install ```sh ohpm install is-odd ``` ## Usage Works with strings or numbers. ```js import isOdd from 'is-odd'; console.log(isOdd('1')); //=> true console.log(isOdd('3')); //=> true console.log(isOdd(0)); //=> false console.log(isOdd(2)); //=> false ```