Extend List with method exists(int index) #46400
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
library-core
type-enhancement
A request for a change that isn't a bug
It is inconvenient to check if the list has an item on this index or not. The only way to solve this, is to add an extension on List implementation.
Otherwise an exception is immediately thrown.
Uncaught Error: RangeError (index): Index out of range: index should be less than 1: 1
The text was updated successfully, but these errors were encountered: