try - Liquid Filter Reference
On this page
Description
Tries to call the supplied attribute against the supplied object. Use this when you know the property may or may not exist on the object as a way to indicate that it’s expected and ok for it not to exist.
| Property | Value |
|---|---|
| Return Type | any |
| Category | collections |
Examples
liquid
}}
Output: ``
liquid
}}
Output: RED