isInteger.d.ts 229 B

12345678910111213
  1. /**
  2. * 判断是否整数
  3. * @param val 值
  4. */
  5. export declare function isInteger(val: any): val is number;
  6. declare module './ctor' {
  7. interface XEUtilsMethods {
  8. isInteger: typeof isInteger;
  9. }
  10. }
  11. export default isInteger