twenty/packages/twenty-front/src/utils/validation/isStepValue.ts
Omar Eltomy 2af20a4cf0
Add UTC timezone label to CRON trigger form (#14674)
- Added 'Cron will be triggered at UTC time' notice below trigger
interval dropdown
- Positioned correctly between dropdown and expression field to match
design
- Only shows when Custom CRON option is selected

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
2025-09-24 19:45:56 +02:00

5 lines
160 B
TypeScript

import { isDefined } from 'twenty-shared/utils';
export const isStepValue = (value: string): boolean => {
return isDefined(value) && value.includes('/');
};