let Weixin = { } ; Weixin . in = ( function ( ) { if ( typeof window == 'undefined' || typeof document == 'undefined' ) { return false ; } var ua = navigator . userAgent . toLowerCase ( ) ; if ( ua . match ( /MicroMessenger/i ) == "micromessenger" ) { return true ; } else { return false ; } } ( ) ) ; export default Weixin ;