* Pick random one from the list
| 18 | * Pick random one from the list |
| 19 | */ |
| 20 | interface PickRandomOpt<T> { |
| 21 | avoidList?: T[], |
| 22 | usually?: T[] |
| 23 | } |
| 24 | |
| 25 | type PickRandomFromList = <T>(data: T[], opt?: PickRandomOpt<T | undefined>) => T; |
| 26 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…