(u: UseCase)
| 281 | |
| 282 | /** The demo page's file name, without the query string. */ |
| 283 | export const demoFile = (u: UseCase): string => u.demo.split('?')[0]; |
| 284 | |
| 285 | /** Demos that are a camera feed rather than a screen. */ |
| 286 | export const isCameraDemo = (u: UseCase): boolean => demoFile(u).startsWith('camera_'); |
no outgoing calls
no test coverage detected