(flags: CommandFlags | undefined)
| 19 | } |
| 20 | |
| 21 | export function hasLockableDeviceSelector(flags: CommandFlags | undefined): boolean { |
| 22 | return hasAnySelectorValue(flags, LOCKABLE_DEVICE_SELECTOR_KEYS); |
| 23 | } |
| 24 | |
| 25 | export function hasSelectorValue(value: unknown): value is string { |
| 26 | return typeof value === 'string' && value.trim().length > 0; |
no test coverage detected
searching dependent graphs…