import Vue from 'vue' ; import { getTouch } from './touches' ; const isServer = Vue . prototype . $isServer ; param v function isDef ( v ) { return v !== undefined && v !== null ; } param v function isObj ( v ) { const type = typeof v ; return v !== null && ( type === 'object' || type === 'function' ) ; } export { isServer , getTouch , isDef , isObj } ;