티스토리 뷰

Expressions

Precedence Title Symbols
Highest Postfix ++, --, ., ?., ?
  Prefix -, +, ++, --, !, label
  Type RHS :, as, as?
  Multiplicative *, /, %
  Additive +, -
  Range ..
  Infix function simpleIdentifier
  Elvis ?:
  Named checks in, !in, is, !is
  Comparison <, >, <=, >=
  Equality ==, !=, ===, !==
  Conjunction &&
  Disjunction ||
  Spread operator *
Lowest Assignment =, +=, -=, *=, /=, %=
 

참고

https://kotlinlang.org/docs/reference/grammar.html#precedence