/** * Removes null and undefined elements from the given array. * * @param array - The array to remove elements from * @returns An array without elements equal null or undefined * * @category Array * @public */ export default function sweep>>(array: Array): ReturnType;