getKeys()
The getKeys()
method returns an array of all item keys in your collection synchronously. This is helpful when you need to iterate over or check the existence of specific items.
The getKeys()
method returns an array of all item keys in your collection synchronously. This is helpful when you need to iterate over or check the existence of specific items.