@lelantos-org/sdk / core / mapArr
Function: mapArr() โ
ts
function mapArr<T>(
v,
path,
f
): T[];Defined in: @lelantos-org/sdk/dist/core/decode.d.ts:43
Map over an array, threading the index into the error path.
Type Parameters โ
| Type Parameter |
|---|
T |
Parameters โ
| Parameter | Type |
|---|---|
v | unknown |
path | string |
f | (x, p) => T |
Returns โ
T[]