PHP Classes

File: libs/Twig/doc/filters/length.rst

Recommend this page to a friend!
  Classes of william amed   Raptor 2   libs/Twig/doc/filters/length.rst   Download  
File: libs/Twig/doc/filters/length.rst
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change:
Date: 8 years ago
Size: 209 bytes
 

Contents

Class file image Download
``length`` ========== The ``length`` filter returns the number of items of a sequence or mapping, or the length of a string: .. code-block:: jinja {% if users|length > 10 %} ... {% endif %}