Skip to content

Provide a not tester #1279

@edgarmueller

Description

@edgarmueller

Describe the bug
A negation tester would be useful in certain scenarios, e.g. when checking that a schema is not of type object, for instance not(schemaTypeIs('object'))

To Reproduce
Right now there's no easy way to do that, rather one'd have to check via or(schemaTypeIs('number'), schemaTypeIs('integer'), ...) and so on.

Expected behavior
A not tester that negates the result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions