* Check if a time value is valid (not empty/null/undefined)
(value: string | null | undefined)
| 28 | * Check if a time value is valid (not empty/null/undefined) |
| 29 | */ |
| 30 | function isValidTimeValue(value: string | null | undefined): boolean { |
| 31 | return !!value && value.trim() !== '' && value.includes(':') |
| 32 | } |
| 33 | |
| 34 | /** |
| 35 | * Check if a schedule type has valid configuration |
no outgoing calls
no test coverage detected