Definition, Meaning & Synonyms

unary

adjective
/ˈjuːnəri/
Definition
Consisting of or involving only one element, component, or argument.
Examples
  • The unary operator negates the value of the given variable.
  • In programming, a unary function takes a single input and returns one output.
  • Unary expressions are simpler compared to binary expressions that require two operands.
Meaning
The term ‘unary’ is often used in mathematics and computer science to refer to operations or functions that involve a single operand or argument.
Synonyms
  • single
  • one
  • individual