Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/api-derive/staking/util.ts>filterEras

Package publishing for deno.land/x/polkadot
Go to Latest
function filterEras
import { filterEras } from "https://deno.land/x/polkadot@0.2.12/api-derive/staking/util.ts";

Type Parameters

T extends { era: EraIndex; }

Parameters

eras: EraIndex[]
list: T[]

Returns

EraIndex[]