winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
5.06k stars 198 forks source link

Array.find and Array.filter #7174

Open obrunsmann opened 1 month ago

obrunsmann commented 1 month ago

Use Case

Need to quickly find and/or filter arrays.

Proposed Solution

Common examples in JS:

const matches = users.find((user) => user.email == "foo@example.com"));

Implementation Notes

No response

Component

Language Design

Community Notes