Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

function that returns object or null

I would like to have a function that returns either an object or a null.

How do I code the function's return value if I find an object

      GetSomeObject = objectFound

or

      set GetSomeObject = objectFound

How do I code the functions's return value if there is no object and I want to return a null?    

How do I get the return value?

    returnedValue = GetSomeObject

or

    set returnedValue = GetSomeObject

0 Replies