Other expressions
Case expressions
let x = random(0, 1);
// Example: flip a virtual coin.
return case when x > 0.5 then "heads"
when x < 0.5 then "tails"
else "standing on edge"
end;Function calls
// Example: call the "upper" function with "hello" for its single argument.
return upper("hello");Default
type User = {name: text, age: number, email: text?};
return default(User);Error
Like
Wildcards
Character Sets
Negation in Character Sets
Case Sensitivity
In
Last updated
Was this helpful?