TypeRef::str
pub fn str() -> string Import
Source: use macro::{TypeRef}; compiler/src/prelude/macro.hy The whole annotation, e.g. Map<string, int>.
Called on a TypeRef value as value.str(…).
Returns#
string
See also#
TypeRef: A type annotation as written (not resolved):Vec<int>,json::Value.TypeRef::srcTypeRef::head: The type constructor, e.g.TypeRef::args: Generic arguments, e.g.