MCPcopy Index your code
hub / github.com/angular/angular-cli / getRandom

Method getRandom

packages/angular/cli/src/utilities/memoize_spec.ts:19–21  ·  view source on GitHub ↗
(_parameter?: unknown)

Source from the content-addressed store, hash-verified

17
18 @memoize
19 getRandom(_parameter?: unknown): number {
20 return Math.random();
21 }
22
23 @memoize
24 async getRandomAsync(): Promise<number> {

Callers 2

memoize_spec.tsFile · 0.80
testFunction · 0.80

Calls 1

randomMethod · 0.45

Tested by 1

testFunction · 0.64