Util
#
defaultTo(value, defaultValue)Checks value to determine whether a default value should be returned in its place. The defaultValue is returned if value is null.
Arguments
value (string): The value to check.
defaultValue (string): The default value.
Returns
(string): Returns the resolved value.
If you get stuck at a point above, please reach out to support@butternut.tech or via this form.
We're here to support you, and together we can build great things.