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
valueis incollection. Ifcollectionis a string, it's checked for a substring ofvalue. IffromIndexis negative, it's used as the offset from the end ofcollection.Contribution to minified bundle size, when it is the only function imported: