Value¶ class hugr.val.Value(*args, **kwargs)[source]¶ Bases: Protocol Abstract value definition. Must be serializable into a HUGR value. Methods to_model type_ Report the type of the value. type_() → Type[source]¶ Report the type of the value. Example >>> TRUE.type_() Bool