@salesforce/kit
    Preparing search index...

    Function includes

    • Checks if target is in collection using SameValueZero for equality comparisons. If fromIndex is negative, it’s used as the offset from the end of collection.

      Type Parameters

      • T

      Parameters

      • collection: Nullable<ArrayLike<T> | Dictionary<T> | NumericDictionary<T>>

        The collection to search.

      • target: T

        The value to search for.

      • OptionalfromIndex: number

        The index to search from.

      Returns boolean