/** * Extracts the first value of an array of values. * @param {Array<*>} arr - An array of values from which to extract the first value * @returns {*} The value at the first index of the supplied array (which may be undefined) */ export default function first(arr: any[]): any