diff --git a/cond.js b/cond.js index 8a12b7b84..c62be242b 100644 --- a/cond.js +++ b/cond.js @@ -15,7 +15,7 @@ import arrayMap from './.internal/arrayMap.js' * const func = cond([ * [matches({ 'a': 1 }), constant('matches A')], * [conforms({ 'b': isNumber }), constant('matches B')], - * [stubTrue, constant('no match')] + * [() => true, constant('no match')] * ]) * * func({ 'a': 1, 'b': 2 })