/** * Returns a random element from the given array. * * @param array - The array to get element from * @returns A random element * * @category Array * @public */ export default function sample(array: Array): ElementType | undefined;