-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
featureIndicates new feature / enhancement requestsIndicates new feature / enhancement requestshelp wantedIndicates that a maintainer wants help on an issue or pull requestIndicates that a maintainer wants help on an issue or pull request
Description
Is there a function to strip the type parameters from a type? For example:
strip_type_parameters(Array{Int,3}) # should return Array
There is one way to do this but it is not documented (pointed out by @jakobnissen):
strip_type_parameters(T) = Base.typename(T).wrapper
Therefore in principle it can change in future versions.
Why not have a stable API for this?
jw3126, tkf, kimikage, johnnychen94, jebej and 10 more
Metadata
Metadata
Assignees
Labels
featureIndicates new feature / enhancement requestsIndicates new feature / enhancement requestshelp wantedIndicates that a maintainer wants help on an issue or pull requestIndicates that a maintainer wants help on an issue or pull request