BC API DocsBC APIBC data- CommonIncludes<T>(array: readonly T[], searchElement: unknown, fromIndex?: number): searchElement is T
Type parameters
Parameters
array: readonly T[]
searchElement: unknown
optionalfromIndex: number
Returns searchElement is T
A Array.includes version annotated to return a type guard.