type!
macro type(Expr ty) -> Code Import
Source: use tests::{type}; src/tests.hy Expands to typeof ty: the type of an expression, as a value that can be compared.
Invoke it as type!(…); the arguments are passed as code (Expr), not values.
Parameters#
| Name | Type |
|---|---|
ty | Expr |
Returns#
Code