From c6322fab6f4f2633f149b13c7329aed87b0afb70 Mon Sep 17 00:00:00 2001 From: Jona Dimovska Date: Tue, 8 Jan 2019 14:53:38 +0100 Subject: [PATCH] Add fields.update function in the readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 410f74d..6349d3a 100644 --- a/README.md +++ b/README.md @@ -264,6 +264,10 @@ returned. A function to swap two values in the array. +#### `fields.update: (name: string, index: number, value: any) => void` + +A function to update a value at the specified index of the array. + #### `fields.unshift: (value: any) => void` A function to add a value to the beginning of the array.