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