class Crystal::ProcType
inherits Crystal::GenericClassType
¶
The non-instantiated Proc(*T, R) type.
Methods¶
#can_be_stored?
¶
Returns true
if this type can be assigned to an instance or class
variable, or used in a generic type argument.
As of now, abstract base type such as Object, Reference, Value,
Int, and unbound generic types such as Array(T)
, can't be stored.