Liquid v0.3.0 Liquid.Filters.Functions
Structure that holds all the basic filter functions used in Liquid 3.
Summary
Functions
Allows you to specify a fallback in case a value doesn’t exist.
default
will show its value if the left side is nil, false, or empty
Makes each character in a string lowercase. It has no effect on strings which are already all lowercase
Functions
Specs
default(any, any) :: any
Allows you to specify a fallback in case a value doesn’t exist.
default
will show its value if the left side is nil, false, or empty
Specs
downcase(any) :: String.t
Makes each character in a string lowercase. It has no effect on strings which are already all lowercase.