ifFail()
Tests subject
against control
and if it results in a false
-ish value falsyValue
will be passed back. Otherwise, if opt_truthyValue
is given it will be passed back, but if not subject
will be passed back.
subject
being the only argument. Otherwise, this regular expression will be tested against subject
.subject
against control
results in a false
-ish value.subject
subject
against control
results in a true
-ish value.falsyValue
will be returned if testing subject
against control
results in a false
-ish value. Otherwise, if opt_truthyValue
is given it will be returned, but if not given subject
will be returned.This function directly requires the following function which is included automatically:
ifIs()
This function is directly required by the following function:
ifIs()