Recipe functions: server and client — part 4
Generated from brezel/api@ddd04f543e0fecc433a351dcaab24d39087b24be — do not edit by hand.
| Function | Server | Client | Signature | Short description |
|---|---|---|---|---|
sum | yes | yes | Server: sum(x); Client: sum(x) | Sum of values. |
| Function | Server | Client | Signature | Short description |
|---|---|---|---|---|
t | yes | yes | Server: t(string key, ...args); Client: t(x: string) | Translates a key. |
timezone
Section titled “timezone”| Function | Server | Client | Signature | Short description |
|---|---|---|---|---|
timezone | yes | no | Server: timezone() | Reads the X-User-Timezone request header. |
timezones
Section titled “timezones”| Function | Server | Client | Signature | Short description |
|---|---|---|---|---|
timezones | yes | no | Server: timezones() | Lists timezone identifiers. |
toLowerCase
Section titled “toLowerCase”| Function | Server | Client | Signature | Short description |
|---|---|---|---|---|
toLowerCase | yes | no | Server: toLowerCase(value) | Converts text to lowercase. |
toString
Section titled “toString”| Function | Server | Client | Signature | Short description |
|---|---|---|---|---|
toString | yes | no | Server: toString(value) | Converts a value to a string. |
toUpperCase
Section titled “toUpperCase”| Function | Server | Client | Signature | Short description |
|---|---|---|---|---|
toUpperCase | yes | no | Server: toUpperCase(value) | Converts text to uppercase. |
| Function | Server | Client | Signature | Short description |
|---|---|---|---|---|
today | yes | yes | Server: today(); Client: today() | Current date as a string. |
todayAsDate
Section titled “todayAsDate”| Function | Server | Client | Signature | Short description |
|---|---|---|---|---|
todayAsDate | yes | no | Server: todayAsDate() | Current date as a date wrapper. |
tofloat
Section titled “tofloat”| Function | Server | Client | Signature | Short description |
|---|---|---|---|---|
tofloat | yes | no | Server: tofloat(...args) | Converts a value to a floating-point number. |
| Function | Server | Client | Signature | Short description |
|---|---|---|---|---|
trim | yes | no | Server: trim(...args) | Trims characters from both ends of a string. |
urlencode
Section titled “urlencode”| Function | Server | Client | Signature | Short description |
|---|---|---|---|---|
urlencode | yes | no | Server: urlencode(string string) | URL-encodes a string. |
| Function | Server | Client | Signature | Short description |
|---|---|---|---|---|
user | yes | yes | Server: user(); Client: user() | Returns the current user. |
vector
Section titled “vector”| Function | Server | Client | Signature | Short description |
|---|---|---|---|---|
vector | yes | yes | Server: vector(...x); Client: vector(...x) | Creates a vector. |
webhook
Section titled “webhook”| Function | Server | Client | Signature | Short description |
|---|---|---|---|---|
webhook | yes | no | Server: webhook(event) | Builds an authenticated webhook URL. |
| Function | Server | Client | Signature | Short description |
|---|---|---|---|---|
year | yes | no | Server: year() | Current server year. |