function normalizeToArray(value) {
  return value instanceof Array ? value : value == null ? [] : [value];
}
If value is not array, then translate it to array.
@param  {*} value
@return {Array} [value] or value