FileList
Values
item
Returns the WebApiFile at the specified index.
FileList is not an array, so you need to iterate manually using length and item:
let files = []
for i in 0 to fileList.length - 1 {
files->Array.push(fileList->FileList.item(i))
}
let item: (WebAPI.DOM.fileList, int) => Null.t<WebAPI.FileTypes.file>