Module ddash.utils.or

Gets the value if valid or the other value

Aliases

NameTypeDescription
or Retrieves the value if it is a valid value else it will retrieve the elseValue. Instead of an elseValue, an elsePred can be passed to create the value functionally