# repeat

`import { repeat } from "destack:bytes";`

Repeat `bytes` `count` times.

```ds title="repeat"
export function repeat(bytes: &'a readonly [uint8], count: isize): readonly [uint8]
```

[language/library/src/bytes/bytes.ds:224:226](https://github.com/destack-sh/destack/blob/main/language/library/src/bytes/bytes.ds#L224-L226)
