mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 08:57:49 +00:00
Remove stubTrue from cond example (#3085)
This commit is contained in:
committed by
John-David Dalton
parent
dad1fccdb4
commit
64d92ddf32
2
cond.js
2
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 })
|
||||
|
||||
Reference in New Issue
Block a user