mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 07:47:49 +00:00
Update doc examples to ES2015.
This commit is contained in:
@@ -15,7 +15,7 @@ import keys from './keys.js';
|
||||
* @returns {boolean} Returns `true` if `object` conforms, else `false`.
|
||||
* @example
|
||||
*
|
||||
* var object = { 'a': 1, 'b': 2 };
|
||||
* const object = { 'a': 1, 'b': 2 };
|
||||
*
|
||||
* conformsTo(object, { 'b': function(n) { return n > 1; } });
|
||||
* // => true
|
||||
|
||||
Reference in New Issue
Block a user