Skip to content

How to test if the value is NULL? #93

@jokaorgua

Description

@jokaorgua

Hello.

is there any way to test the value for NULL?

Assume we have a json

{"someid":null}

And I want to test if the value is null, not just empty. For testing it as empty I can do something like require.Empty(simplejsonData.Get("someid"))

Any help is appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions