DefinitelyTyped/types/is-odd/index.d.ts
2019-02-23 13:25:20 +11:00

12 lines
349 B
TypeScript

// Type definitions for is-odd 3.0
// Project: https://github.com/jonschlinkert/is-odd
// Definitions by: Adam Zerella <https://github.com/adamzerella>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**
* Return true if a given number is odd or not.
*/
declare function isOdd(value: number|string): boolean;
export = isOdd;