less / less.js

Less. The dynamic stylesheet language.
http://lesscss.org
Apache License 2.0
17k stars 3.41k forks source link

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

Open guelate opened 2 years ago

guelate commented 2 years ago

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

abhijain2003 commented 1 year ago

what you are trying to achieve, could you elaborate

matthew-dean commented 1 year ago

what you are trying to achieve, could you elaborate

Same question. It's unclear why someone would ever need to filter a list by the string length of values.