null returns true if the variable is null:
null
true
{{ var is null }}
Note
none is an alias for null.
none
© 2009–2017 by the Twig TeamLicensed under the three clause BSD license.The Twig logo is © 2010–2017 SensioLabs 登录查看完整内容
联系方式: