MCPcopy Create free account
hub / github.com/dapi-labs/react-nice-avatar / PickRandomOpt

Interface PickRandomOpt

src/utils.ts:20–23  ·  view source on GitHub ↗

* Pick random one from the list

Source from the content-addressed store, hash-verified

18 * Pick random one from the list
19 */
20interface PickRandomOpt<T> {
21 avoidList?: T[],
22 usually?: T[]
23}
24
25type PickRandomFromList = <T>(data: T[], opt?: PickRandomOpt<T | undefined>) => T;
26

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…