Lodash.defaultTo

Checks value to determine whether a default value should be returned in its place. The defaultValue is returned if value is NaN, null, or undefined.

struct Lodash
nothrow @trusted @safe ref
defaultTo
(
T
)
(
auto ref T defaultValue
)

Return Value

Type: auto ref

- Lodash chained on (*): the resolved value.

Meta