.fetch()
Fetches the entries directly from the JSON file and returns the first one that matches the provided filter.
Last updated
Fetches the entries directly from the JSON file and returns the first one that matches the provided filter.
Last updated
Parameter
Description
filter
Function to test each element of the array. Return a value that coerces to true
to keep the element, or to false
otherwise
Returns
Description
First entry that matches the filter