A function of determinating a variable is an array or not. import axios from 'one-sport' Vue.prototype.$http = axios({store})