variable filterValues

Call Signatures

<
K extends
number
| string
| symbol
,
V,
W extends V = V,
>
(
object: Record<K, V>,
test: (value: V) => value is W,
): Record<string, W>
<
K extends
number
| string
| symbol
,
V,
>
(
object: Record<K, V>,
test: (value: V) => unknown,
): Record<string, V>

Usage

import { filterValues } from "index.ts";