(value: any)
| 121 | } |
| 122 | |
| 123 | export function isURL(value: any): boolean { |
| 124 | return typeof value === "string" && /^(http|https)/.test(value); |
| 125 | } |
| 126 | |
| 127 | export function randomChoice<T>(arr: T[]): T | undefined { |
| 128 | if (!arr || arr.length === 0) return undefined; |
nothing calls this directly
no outgoing calls
no test coverage detected