Skip to content

Commit

Permalink
Update README: runtime type assertions support interfaces and traits
Browse files Browse the repository at this point in the history
  • Loading branch information
drjayvee committed Oct 22, 2024
1 parent 74464c4 commit c5ae1ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Your preferences and/or requirements may very well differ.

Here's the list of types supported by TwigQI:
* Scalar: `string`, `number`, `boolean`, `null`, `object` (although a class is preferred)
* Class names (FQN, with a starting backslash. Note that backslashes must be escaped in Twig strings!)
* Classes, interfaces and traits (FQN, with a starting backslash. Note that backslashes must be escaped in Twig strings!)
* Three types of iterables, with increasing specificity
* `iterable` declares nothing more or less than that the variable is iterable
* `iterable<ValueType>` declares the values' type
Expand Down

0 comments on commit c5ae1ce

Please sign in to comment.