Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/CodebuffAI/codebuff
/ repeated
Function
repeated
cli/src/utils/arrays.ts:23–25 ·
view source on GitHub ↗
(value: T, count: number)
Source
from the content-addressed store, hash-verified
21
}
22
23
export
function
repeated<T>(value: T, count: number): T[] {
24
return
Array.from({ length: count }, () => value)
25
}
26
27
export
class
Queue<T> {
28
private _items: T[]
Callers
3
constructor
Method · 0.85
enqueue
Method · 0.85
clear
Method · 0.85
Calls
1
from
Method · 0.80
Tested by
no test coverage detected