MCPcopy Index your code
hub / github.com/emberjs/ember.js / replace

Method replace

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

__Required.__ You must implement this method to apply this mixin. This is one of the primitives you must implement to support `Array`. You should replace amt objects started at idx with the objects in the passed array. Note that this method is expected to validate the type(s) of ob

(idx: number, amt: number, objects?: readonly T[])

Source from the content-addressed store, hash-verified

1500 @public
1501 */
1502 replace(idx: number, amt: number, objects?: readonly T[]): void;
1503 /**
1504 Remove all elements from the array. This is useful if you
1505 want to reuse an existing array without having to recreate it.

Callers 15

packagesFunction · 0.65
loadFunction · 0.65
escapeSemVerIdentifierFunction · 0.65
index.tsFile · 0.65
registry.tsFile · 0.65
getFunctionNameFunction · 0.65
getObjectNameFunction · 0.65
expandPropertiesFunction · 0.65
diveFunction · 0.65
replaceFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected