util.js 358 B

12345678910
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. // weixin miniprogram
  4. // @ts-ignore
  5. var isWx = (typeof wx === 'object') && (typeof wx.getSystemInfoSync === 'function');
  6. exports.isWx = isWx;
  7. // ant miniprogram
  8. // @ts-ignore
  9. var isMy = (typeof my === 'object') && (typeof my.getSystemInfoSync === 'function');
  10. exports.isMy = isMy;