A Unicode String Vector Trait

A Unicode String Vector Trait

# S3 method for Unicode
as.character(x, ...)

Arguments

x

A Unicode traitlet

...

Other arguments, ignored.

Functions

  • as.character(Unicode): Coerce a unicode string trait to a character vector

Super class

RKernel::Trait -> Unicode

Public fields

coerce

Logical value, whether values should be coerced to character strings.

length

Length of the unicode character vector

value

The value of the unicode character vector

optional

A logical value, whethe valuer can be empty.

Methods

Inherited methods


Method validator()

A validator function

Usage

UnicodeClass$validator(value)

Arguments

value

The value to be assigned


Method new()

Initialize an object

Usage

UnicodeClass$new(
  initial = character(0),
  coerce = TRUE,
  optional = length(initial) == 0,
  length = 1L
)

Arguments

initial

An initial value

coerce

Logical value, whether values should be coerced to character stringes

optional

Logical value, whether the value may be empty

length

Integer, the intended length of the unicode vector


Method clone()

The objects of this class are cloneable with this method.

Usage

UnicodeClass$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.