Neg::neg
fn neg(T a) -> T
Source: compiler/src/builtin_docs/prelude/ops.hy Returns -a.
Parameters#
| Name | Type |
|---|---|
a | T |
Returns#
T
See also#
Neg: The unary negation operator-x.
Neg::negfn neg(T a) -> T
Source: compiler/src/builtin_docs/prelude/ops.hy Returns -a.
| Name | Type |
|---|---|
a | T |
T
Neg: The unary negation operator -x.