F
Size: a a a
F
OS
AS
AS
OS
AS
OS
OS
OS
AS
AS
OS
AS
В
OS
AS
DN
S
DB
const balances$: Observable<Array<{
currencyId: string;
amount: number;
}>>;
const selectedCurrency$ = Observable<string>;
S
combineLatest(balances$, selectedCurrency$).pipe(
map(([ balances, currency ]) => balances.find(balance => balance.currencyId === currency)),
)