NF
Size: a a a
NF
DS
🚀🚀
🚀🚀
NF
🚀🚀
🚀🚀
🚀🚀
🚀🚀
NF
🚀🚀
🚀🚀
ф
split({
source: fxFetchAccount.doneData,
key: ({type}) => type,
fn: ({entityId}) => entityId,
cases: {
[AccountType.Bank]: fetchBankFx,
[AccountType.Company]: fetchCompanyFx,
[AccountType.Individual]: fetchIndividualFx,
}
})
ф

NF
split(fxFetchAccount, [
{ cond: match(AccountType.Bank), case: withId(fetchBankFx) },
{ cond: match(AccountType.Company), case: withId(fetchCompanyFx) },
{ cond: match(AccountType.Individual), case: withId(fetchIndividualFx) },
]);
ф
split(fxFetchAccount, [
{ cond: match(AccountType.Bank), case: withId(fetchBankFx) },
{ cond: match(AccountType.Company), case: withId(fetchCompanyFx) },
{ cond: match(AccountType.Individual), case: withId(fetchIndividualFx) },
]);
A
split(fxFetchAccount, [
{ cond: match(AccountType.Bank), case: withId(fetchBankFx) },
{ cond: match(AccountType.Company), case: withId(fetchCompanyFx) },
{ cond: match(AccountType.Individual), case: withId(fetchIndividualFx) },
]);
const {bank, company, individual} = split(fx, ...)?ф
NF
ф