Recipes: Misc
env API
Section titled “env ”Signature
Section titled “Signature”env(name: string)
Example
Section titled “Example”>>> env("SERVICE_URL")"https://api.my-service.com"- Math functions:
sum,avg,round,floor,ceil,max,min,sin,cos,exp,pow,sqrt,abs,vector,rand - String functions:
len,substr,contains,toUpperCase,random.password(minLength, maxLength) - Object functions:
len,contains,list,relation,join - Date functions:
today,now,date,duration - User functions:
user,hasRole - JSON functions:
json.decode,json.encode - Regex functions:
regex.quote(string, delimiter),regex.matchAll(pattern, subject) - Misc functions:
env