Array
Remove all falsy items from list
Given a list of items, return a new list with all items that are not falsy.
import { sift } from 'radash' const fish = ['salmon', null, false, NaN, 'sockeye', 'bass'] sift(fish) // => ['salmon', 'sockeye', 'bass']