PHP Classes

File: Library/vendor/twig/twig/doc/filters/length.rst

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   Lego PHP   Library/vendor/twig/twig/doc/filters/length.rst   Download  
File: Library/vendor/twig/twig/doc/filters/length.rst
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Lego PHP
Blog and shopping cart system
Author: By
Last change:
Date: 7 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 %}