Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

namespace Twig\Node\Expression\Test

Object name File name Summary
ConstantTest vendor/twig/twig/src/Node/Expression/Test/ConstantTest.php Checks if a variable is the exact same value as a constant.
DefinedTest vendor/twig/twig/src/Node/Expression/Test/DefinedTest.php Checks if a variable is defined in the current context.
DivisiblebyTest vendor/twig/twig/src/Node/Expression/Test/DivisiblebyTest.php Checks if a variable is divisible by a number.
EvenTest vendor/twig/twig/src/Node/Expression/Test/EvenTest.php Checks if a number is even.
NullTest vendor/twig/twig/src/Node/Expression/Test/NullTest.php Checks that a variable is null.
OddTest vendor/twig/twig/src/Node/Expression/Test/OddTest.php Checks if a number is odd.
SameasTest vendor/twig/twig/src/Node/Expression/Test/SameasTest.php Checks if a variable is the same as another one (=== in PHP).
RSS feed
Powered by Drupal