in
少于1分钟
将以下英文翻译为中文:
in
https://gohugo.io/functions/in/
Checks if an element is in an array or slice–or a substring in a string—and returns a boolean.
语法
in SET ITEM
The elements supported are strings, integers and floats, although only float64 will match as expected.
In addition, in can also check if a substring exists in a string.
| |
另请参阅
最后修改 June 1, 2023: 新增一个配置参数:sidebar_menu_truncate = 500 用于解决菜单不全的问题 (27810f1)