mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-24 17:52:45 +00:00
14 lines
391 B
TypeScript
14 lines
391 B
TypeScript
// Type definitions for is-even 1.0
|
|
// Project: https://github.com/jonschlinkert/is-even
|
|
// Definitions by: Shawn Choi <https://github.com/shawnkoon>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.7
|
|
|
|
/**
|
|
* Returns true if a given number is even. Otherwise, false.
|
|
*/
|
|
|
|
declare function isEven(value: number | string): boolean;
|
|
|
|
export = isEven;
|