firstWhere()
Get the first array value that matches the given predicate.
Signature
firstWhere(predicate: () => Boolean | Null): T | Null
firstWhere(predicate: (val: T) => Boolean | Null): T | Null
Parameters
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!