GitHubSign in

An operator that takes a single operand/argument and performs an operation.

"The unary negation operator '-' inverts the sign of a number, while the unary plus operator '+' returns the numeric representation of an object."

@gh-community

An operator that operates on a single operand, often used to perform simple transformations or calculations, such as negation or incrementation.

"The '-' symbol is a unary operator used for negation in arithmetic expressions."

@openai