import { isTruthy } from "https://deno.land/x/complaindate@v0.7.2/support/isTruthy.ts";
Type predicate for use with Array.filter
.
Examples
Example 1
Example 1
[0, 1, {}, true, false, null, undefined].filter(isTruthy) // [1, {}, true]
Parameters
x: T