MCPcopy
hub / github.com/emberjs/ember.js / includes

Method includes

packages/@ember/array/index.ts:1124–1124  ·  view source on GitHub ↗

Used to determine if the array contains the passed object. Returns `true` if found, `false` otherwise. The optional `startAt` argument can be used to pass a starting index to search from, effectively slicing the searchable portion of the array. If it's negative it will add the array

(object: T, startAt?: number)

Source from the content-addressed store, hash-verified

1122 @public
1123 */
1124 includes(object: T, startAt?: number): boolean;
1125 /**
1126 Sorts the array by the keys specified in the argument.
1127

Calls

no outgoing calls

Tested by

no test coverage detected