Atom

Complete keyword table

Keyword Use
and Short-circuit conjunction.
as Introduces an import alias.
break Exits the nearest active loop.
catch Handles a thrown value or catchable runtime error. Requires a binding for the error.
const Declares an immutable binding.
continue Starts the nearest loop's next iteration.
elif Tests another branch of an if statement.
else Runs the fallback branch of an if statement.
export Publishes a module-level function, constant or assigned name.
false Boolean false, a falsey value.
finally Runs cleanup when control leaves a try/catch region.
for Iterates values, or key/value pairs.
func Defines a named or anonymous function.
if Begins a conditional statement.
in Introduces a for loop's iterable.
not Returns the inverse of the operand's truthiness.
null The null value, which is falsey.
or Short-circuit disjunction.
pass Empty statement.
return Leaves a function or module body, optionally with a value.
throw Raises an Atom value.
true Boolean true.
try Begins a region with a catch, finally or both.
use Loads a registered or file module.
while Repeats while the condition is truthy.
yield Suspends the active coroutine, optionally returning one value to its resumer.