MCPcopy Index your code
hub / github.com/simstudioai/sim / isValidTimeValue

Function isValidTimeValue

apps/sim/lib/workflows/schedules/validation.ts:30–32  ·  view source on GitHub ↗

* Check if a time value is valid (not empty/null/undefined)

(value: string | null | undefined)

Source from the content-addressed store, hash-verified

28 * Check if a time value is valid (not empty/null/undefined)
29 */
30function 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

Callers 1

hasValidScheduleConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected