English
Appearance
Removes null, undefined, or empty string ('') values from an array.
null
undefined
''
array
import { removeArrayEmpty } from 'rattail' removeArrayEmpty([1, null, undefined, '', 3]) // return [1, 3]
arr
Array