Skip to content
Back to top
View this page

# ValueVoid

class dsviper.ValueVoid

  Bases: `object`

  A class used to represent a value of type void. Seamless with Python None. Or use Value.create(Type.VOID).

  Note: Not directly instantiable.

  static cast(value: Value) → ValueVoid

    Return void or raise.

  copy() → ValueVoid

    Return a deep copy.

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

    Return the description.

  encoded() → Value

    Return Python None.

  hash() → int

    Return the hash value.

  representation() → str

    Return the representation.

  type() → Type

    Return the type.

  type_code() → str

    Return the type code.