[Feat] add a filter() method for the lists
Open
Nobody has claimed this yet.
feature request
low priority
- Dominant language
- JavaScript
- Stars
- 17k
- Forks
- 3.4k
- Avg merge
- 7h 42m
- Merged PRs (30d)
- 26
Description
What:
Hello I'm a student and I would like to participate I propose to add a filter() method for lists
Example code:

Why:
it's useful to sort and select the elements of a list.
Originally posted by @guelate in https://github.com/less/less.js/discussions/3704
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or concrete syntax is named. First locate the existing list-related functions and tests, then clarify the intended filter syntax and behavior from the example; done should include an agreed implementation and tests covering the proposed method.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100