mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
12 lines
349 B
TypeScript
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;
|