utils.d.ts 514 B

12345678
  1. /// <reference types="miniprogram-api-typings" />
  2. export declare function isDef(value: any): boolean;
  3. export declare function isObj(x: any): boolean;
  4. export declare function isNumber(value: any): boolean;
  5. export declare function range(num: number, min: number, max: number): number;
  6. export declare function nextTick(fn: Function): void;
  7. export declare function getSystemInfoSync(): WechatMiniprogram.GetSystemInfoSuccessCallbackResult;
  8. export declare function addUnit(value?: string | number): string | undefined;