defaultTo()
Defaults specific non-values to another given value.
This function is valid in v2.8.0 to v2.24.3. This function has been downloaded 60 times.value
is not sufficient.false
value
is undefined
.opt_beStrict
is true
-ish and value
is undefined
, defaultValue
will be returned. If opt_beStrict
is false
-ish and value
is undefined
, null
or NaN
, defaultValue
will be returned. In all other cases value
will be returned.This function directly requires the following functions which are included automatically:
canDefault()
defaulter()
This function is directly required by the following functions:
canDefault()
defaulter()