<#3514 [Core feature] Possibility to check for `No...
# flyte-github
a
#3514 [Core feature] Possibility to check for `None` values Issue created by MartinTschechne Motivation: Why do you think this is important? Additionally to
is_true()
and
is_false()
it would be nice to have a functionality to check whether
None
is returned by a task. This could be useful in conditionals for example. Goal: What should the final outcome look like, ideally? The function
is_none()
should simply return
True
or
False
and logically work like
Copy code
if val is None:
    return True
else:
    return False
Describe alternatives you've considered Either returning the string
'None'
or
False
and explicitly check for that. Propose: Link/Inline OR Additional context No response Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte