MCPcopy Create free account
hub / github.com/angular/angular / shuffle

Method shuffle

packages/core/test/acceptance/animation_spec.ts:548–551  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

546 }
547
548 shuffle() {
549 const arr = this.items();
550 this.items.set([arr[1], arr[0]]);
551 }
552
553 remove() {
554 const arr = this.items();

Callers 2

animation_spec.tsFile · 0.80

Calls 3

shuffleArrayMethod · 0.95
markForCheckMethod · 0.80
setMethod · 0.65

Tested by

no test coverage detected