ValueAny¶
- class dsviper.ValueAny(initial_value=None)¶
Bases:
objectA class used to represent a value of any type. Seamless with many Python objects.
Or use Value.create(Type.ANY [, initial_value]).
- clear() None¶
Clear the container.
- hash() int¶
Return the hash value.
- is_nil() bool¶
Return True if there is no value to unwrap.
- representation() str¶
Return the representation.
- type_code() str¶
Return the type code.
- unwrap(*, encoded: bool = True) _OutputValues¶
Return the wrapped value or raise.
- wrap(value: _InputValues) None¶
Wrap a value.