Remove stubTrue from cond example (#3085)

This commit is contained in:
Roman Gusev
2017-03-30 20:44:14 +06:00
committed by John-David Dalton
parent dad1fccdb4
commit 64d92ddf32

View File

@@ -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 })