Checks if value is in collection. If collection is a string, it's checked for a substring of value. If fromIndex is negative, it's used as the offset from the end of collection.
Contribution to minified bundle size, when it is the only function imported:
Checks if
value
is incollection
. Ifcollection
is a string, it's checked for a substring ofvalue
. IffromIndex
is negative, it's used as the offset from the end ofcollection
.Contribution to minified bundle size, when it is the only function imported: