Skip to content

Support Union Type #3

Description

@hanlindev
  1. Syntax '<Type 1> | <Type 2> | ...'
  2. Success on first match.
  3. Enforce the matched type only if it is enforced type (!). That is if 'string | number!' matches string, type will not be enforced.

Activity

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions