Skip to contents

Setwise Union of chars Objects

Usage

# S3 method for class 'chars'
union(x, y, ...)

Arguments

x

a chars object.

y

a chars object or character vector.

...

further arguments passed to or from other methods.

Value

the setwise union of x and y.

Examples

union(chars("java"), chars("script"))
#> [1] "javscript"