isWeakMap.d.ts 249 B

12345678910111213
  1. /**
  2. * 判断是否 WeakMap 对象
  3. * @param val 值
  4. */
  5. export declare function isWeakMap(val: any): val is WeakMap<any, any>;
  6. declare module './ctor' {
  7. interface XEUtilsMethods {
  8. isWeakMap: typeof isWeakMap;
  9. }
  10. }
  11. export default isWeakMap