Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ramda: Filtering array #4

Open
guglielmi-s opened this issue Dec 14, 2021 · 0 comments
Open

Ramda: Filtering array #4

guglielmi-s opened this issue Dec 14, 2021 · 0 comments

Comments

@guglielmi-s
Copy link
Owner

Partendo da questo array
const notesList = [ { title: "Buy milk and bread", createdAt: '2020-04-04', dueDate: null, archived: false, }, { title: "Pick up a package at the post office", createdAt: '2020-04-04', dueDate: null, archived: false, }, { title: "Take a walk with Yoda", createdAt: '2020-04-04', dueDate: null, archived: true, }, { title: "Read 15 minutes", createdAt: '2020-03-07', dueDate: '2020-03-08', archived: false, }, { title: "Do 30 minutes workout", createdAt: '2020-03-01', dueDate: '2020-03-04', archived: false, }, ]

creare un metodo che torni un nuovo array con i soli elementi che hanno la chiave archived uguale a false

@guglielmi-s guglielmi-s changed the title Filtering array Ramda: Filtering array Dec 14, 2021
@ghost ghost mentioned this issue Dec 16, 2021
ghost pushed a commit that referenced this issue Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant