function move(array, sourceIndex, targetIndex) {
  if(!_.isNumber(targetIndex) || !_.isArray(array) || !_.inRange(targetIndex, 0, array.length)) {
    return false;
  }

  array.splice(targetIndex, 0, _.removeAt(array, sourceIndex));

  return true;
}
Moves an element inside an array by offset.

@static
@memberOf _
@category Array
@param {Array} array The array to modify.
@param {number} sourceIndex The index of element to move.
@param {number} [targetIndex] The index of element to move to.
@returns {*} Returns true if the array was mutated, else false.