conditional action get wrong type from custom function

Custom Code

I created a function that returns the difference between two dates. The returned value is an integer. When using the return value in a conditional action, the correct type is not recognized, but instead takes it as "string" not as "int"

What have you tried so far?

I searched the documentation and the forum. I do not know what I'm doing wrong.

Did you check FlutterFlow's Documentation for this topic?
Yes
6 replies