less / less/less.js

[Feat] add a filter() method for the lists

Open
#3,705 2 comments 0 reactions 0 assignees View on GitHub

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:
2

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.