includes
Modified on Tue, 04 Apr 2023
Use this function to check if `value` is in `collection`. If `collection` is a string, it's checked for a substring of `value`, otherwise is used for equality comparisons.
Syntax
includes(collection:Dictionary | NumericDictionary | null | undefined, target:T, fromIndex:number):
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article