ValueString

class dsviper.ValueString(initial_value=None)

Bases: object

A class used to represent a value of type string. Seamless with a Python str.

Or use Value.create(Type.STRING [, initial_value]).

EMPTY = ''
static cast(value: Value) ValueString

Return a string or raise.

copy() ValueString

Return a deep copy.

description(*, namespace: NameSpace | None = None) str

Return the description.

encoded() str

Return a Python str.

hash() int

Return the hash value.

representation() str

Return the representation.

type() Type

Return the type.

type_code() str

Return the type code.