Skip to content
This repository was archived by the owner on Dec 19, 2022. It is now read-only.
This repository was archived by the owner on Dec 19, 2022. It is now read-only.

Document s.optional() #43

Description

@FagnerMartinsBrack

There is no documentation for the s.optional( ... ) API, only s.optional({ optional: true }).

The supported behavior is that It accepts either a matcher or a primitive value in the first argument. Here are the tests.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions