DefinitelyTyped/types/is-even/index.d.ts
2019-08-27 15:59:26 -07:00

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;