Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

UseFieldArraySwap

Swap field array by supplying from and to index

@example
<button type="button" onClick={() => swap(0, 1)}>swap</button>
type UseFieldArraySwap = (indexA: number, indexB: number) => void;

§Type

§
(indexA: number, indexB: number) => void
[src]