import { arrayFilter } from "https://deno.land/x/polkadot@0.2.19/util/array/filter.ts";
Examples
import { arrayFilter } from 'https://deno.land/x/polkadot@0.2.19/util/mod.ts';
arrayFilter([0, void 0, true, null, false, '']); // [0, true, null, false, '']
arrayFilter([0, void 0, true, null, false, ''], false); // [0, true, false, '']
Parameters
array: readonly (T | null | undefined)[]