Skip to content

Recipe functions: server and client — part 4

Generated from brezel/api@ddd04f543e0fecc433a351dcaab24d39087b24be — do not edit by hand.

FunctionServerClientSignatureShort description
sumyesyesServer: sum(x); Client: sum(x)Sum of values.
FunctionServerClientSignatureShort description
tyesyesServer: t(string key, ...args); Client: t(x: string)Translates a key.
FunctionServerClientSignatureShort description
timezoneyesnoServer: timezone()Reads the X-User-Timezone request header.
FunctionServerClientSignatureShort description
timezonesyesnoServer: timezones()Lists timezone identifiers.
FunctionServerClientSignatureShort description
toLowerCaseyesnoServer: toLowerCase(value)Converts text to lowercase.
FunctionServerClientSignatureShort description
toStringyesnoServer: toString(value)Converts a value to a string.
FunctionServerClientSignatureShort description
toUpperCaseyesnoServer: toUpperCase(value)Converts text to uppercase.
FunctionServerClientSignatureShort description
todayyesyesServer: today(); Client: today()Current date as a string.
FunctionServerClientSignatureShort description
todayAsDateyesnoServer: todayAsDate()Current date as a date wrapper.
FunctionServerClientSignatureShort description
tofloatyesnoServer: tofloat(...args)Converts a value to a floating-point number.
FunctionServerClientSignatureShort description
trimyesnoServer: trim(...args)Trims characters from both ends of a string.
FunctionServerClientSignatureShort description
urlencodeyesnoServer: urlencode(string string)URL-encodes a string.
FunctionServerClientSignatureShort description
useryesyesServer: user(); Client: user()Returns the current user.
FunctionServerClientSignatureShort description
vectoryesyesServer: vector(...x); Client: vector(...x)Creates a vector.
FunctionServerClientSignatureShort description
webhookyesnoServer: webhook(event)Builds an authenticated webhook URL.
FunctionServerClientSignatureShort description
yearyesnoServer: year()Current server year.