Sign In

$default[]

Returns right hand value if the left hand value is falsy

v1.0.6+ Requires Brackets

Usage

$default[;]

Arguments

NameTypeRequiredDescription
left hand
StringYesLeft hand value
right hand
StringYesRight hand value

Output

String

Was this page helpful?