Julia Language Functions


  • f(n) = ...
  • function f(n) ... end
  • n::Type
  • x -> ...
  • f(n) do ... end


Aside from generic functions (which are most common), there are also built-in functions. Such functions include is, isa, typeof, throw, and similar functions. Built-in functions are typically implemented in C instead of Julia, so they cannot be specialized on argument types for dispatch.