C3 Tutorial
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Short Function Syntax

  • Rather than using {} to define the function body, one can use => <expr>.
  • This behaves as if the function only contained a single return, returning the expression.