vuikit
Version:
A Vuejs component library based on UIkit
18 lines (15 loc) • 304 B
JavaScript
/**
* Vuikit 0.7.0
* (c) 2018 Miljan Aleksic
* @license MIT
*/
/**
* Strict object type check. Only returns true
* for plain JavaScript objects
*/
export default function (obj) {
return toString(obj) === '[object Object]'
}
function toString (val) {
return Object.prototype.toString.call(val)
}