import _typeof from "@babel/runtime/helpers/esm/typeof";
import Vue from 'vue';
import { getTouch } from "./touches";
var isServer = Vue.prototype.$isServer;
/**
 * whether the value is defined
 * @param v
 */

function isDef(v) {
  return v !== undefined && v !== null;
}
/**
 * whether the value is a type of object
 * @param v
 */


function isObj(v) {
  var type = _typeof(v);

  return v !== null && (type === 'object' || type === 'function');
}

export { isServer, getTouch, isDef, isObj };
//# sourceMappingURL=index.js.map