square-toddler-30705
04/16/2024, 11:03 AMfamous-magician-75646
04/16/2024, 11:24 AMsquare-toddler-30705
04/16/2024, 11:37 AMglamorous-guitar-39983
04/16/2024, 11:40 AMsquare-toddler-30705
04/16/2024, 11:58 AMfresh-fireman-491
04/16/2024, 1:22 PMfresh-fireman-491
04/16/2024, 1:22 PMworkflow.horoscope[0].horoscope = 0
fresh-fireman-491
04/16/2024, 1:23 PMfresh-fireman-491
04/16/2024, 1:23 PMfresh-fireman-491
04/16/2024, 1:24 PMfresh-fireman-491
04/16/2024, 1:25 PMworkflow.horoscope
is greater than 0. However, if workflow.horoscope is falsy (as checked in the previous condition), then the length can't be greater than 0fresh-fireman-491
04/16/2024, 1:25 PMfresh-fireman-491
04/16/2024, 1:26 PMworkflow.horoscope
is falsy then you can use just !workflow.horoscope
fresh-fireman-491
04/16/2024, 1:28 PM||
instead of the and operator &&
fresh-fireman-491
04/16/2024, 1:28 PMfresh-fireman-491
04/16/2024, 1:28 PMsquare-toddler-30705
04/16/2024, 2:16 PMfresh-fireman-491
04/16/2024, 2:17 PMsquare-toddler-30705
04/16/2024, 2:19 PMfresh-fireman-491
04/16/2024, 2:20 PMsquare-toddler-30705
04/16/2024, 2:20 PMfresh-fireman-491
04/16/2024, 2:20 PMfresh-fireman-491
04/16/2024, 2:20 PMsquare-toddler-30705
04/16/2024, 2:21 PMsquare-toddler-30705
04/16/2024, 2:24 PM