# Packages
The genericfeatures package provides utilities for detecting usage of generic programming in Go packages.
# Functions
CoreType returns the core type of T or nil if T does not have a core type.
Deref returns the type of the variable pointed to by t, if t's core type is a pointer; otherwise it returns t.
InterfaceTermSet computes the normalized terms for a constraint interface, returning an error if the term set cannot be computed or is empty.
IsTypeParam reports whether t is a type parameter (or an alias of one).
MustDeref returns the type of the variable pointed to by t.
NormalTerms returns a slice of terms representing the normalized structural type restrictions of a type, if any.
PackIndexExpr returns an *ast.IndexExpr or *ast.IndexListExpr, depending on the cardinality of indices.
StructuralTerms returns a slice of terms representing the normalized structural type restrictions of a type parameter, if any.
UnionTermSet computes the normalized terms for a union, returning an error if the term set cannot be computed or is empty.
UnpackIndexExpr extracts data from AST nodes that represent index expressions.
# Variables
No description provided by the author