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