From cd7233c7761a685f06a6cd45daef192ab3423fa1 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 24 Jun 2025 18:14:09 +0200 Subject: Support `in` operator on strings and modules --- docs/reference/groups.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'docs/reference/groups.yml') diff --git a/docs/reference/groups.yml b/docs/reference/groups.yml index c7e3d996..e01d99dc 100644 --- a/docs/reference/groups.yml +++ b/docs/reference/groups.yml @@ -181,11 +181,7 @@ [`sys.version`]($category/foundations/sys) can also be very useful. ```typ - #let tiling = if "tiling" in dictionary(std) { - tiling - } else { - pattern - } + #let tiling = if "tiling" in std { tiling } else { pattern } ... ``` -- cgit v1.2.3