Skip to content

add a function to return the number of items in a list #1542

Closed

Description

@lukeapage

e.g.

@colors: red white green;
@colors-len: length(@colors); // <-- 3

see #1465 last comment

Activity

  1. radium-v commented on Sep 11, 2013

    @radium-v
    Contributor

    (How) Would this work for comma-separated shorthand lists?

    @transitions: border 1s linear, background-color 0.3s ease-in-out;
    
  2. lukeapage commented on Sep 11, 2013

    @lukeapage
    MemberAuthor

    I suggest the same was as pick.. probably 2.. not sure what pick does in
    that case though.

  3. seven-phases-max commented on Dec 26, 2013

    @seven-phases-max
    Member

    Added in 1.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions