How do I judge if a field returned by an interface is not null?

Which keyword can be used to determine whether a field value is not null?

Hi @caiman2012

Can you provide a code sample of what the current code is and elaborate what you’re trying to do on it ? The question is too abstract.

Cheers !

For example, in the return field of an interface
image
I want to determine which keywords are needed to determine if “data” is not null
image

Hi, please see if this tutorial helps:

Cheers !

Oh , I see. Thanks a lot.