mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +00:00
Add doc note to _.includes about string values. [ci skip]
This commit is contained in:
@@ -7483,10 +7483,10 @@
|
||||
});
|
||||
|
||||
/**
|
||||
* Checks if `value` is in `collection` using
|
||||
* [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
|
||||
* for equality comparisons. If `fromIndex` is negative, it's used as the offset
|
||||
* from the end of `collection`.
|
||||
* Checks if `value` is in `collection`. If `collection` is a string it's checked
|
||||
* for a substring of `value`, otherwise [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
|
||||
* is used for equality comparisons. If `fromIndex` is negative, it's used as
|
||||
* the offset from the end of `collection`.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
|
||||
Reference in New Issue
Block a user