From 64d92ddf323107f3630695f3e02841401c7f4455 Mon Sep 17 00:00:00 2001 From: Roman Gusev Date: Thu, 30 Mar 2017 20:44:14 +0600 Subject: [PATCH] Remove stubTrue from cond example (#3085) --- cond.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 })