dist/index.js
function(object) {
  return Array.isArray(object) ? object : [object.x, object.y, object.z];
}
function(object) {
  return Array.isArray(object) ? object : [object.x, object.y, object.z];
}
function ( object ) { return Array . isArray ( object ) ? object : [ object . x , object . y , object . z ] ; }
Converts an object with x, y, and z properties into
an array, or an array if passed an array.
@param {Object|Array} object
Converts an object with x y and z properties into an array or an array if passed an array .