Learn R Programming

sicher (version 0.1.0)

union-operator: Union Type Operator

Description

S3 methods for the `|` operator to create union types.

Usage

# S3 method for sicher_type
|(type1, type2)

# S3 method for sicher_union |(type1, type2)

Value

A union type (sicher_union object)

Arguments

type1

First type (sicher_type or sicher_union object)

type2

Second type (sicher_type or sicher_union object)