yate-stdlib

Yate Standard Lib

Yate Standard Lib

Batch of usefull helpers for yate

  • arr-concat(arr1, arr2)
  • date-is-today(unix-timestamp)
  • date-is-week-current(unix-timestamp)
  • date-is-yesterday(unix-timestamp)
  • date-now()
  • date-today-date()
  • math-abs(number)
  • math-random()
  • math-round(number)
  • math-sum(nodeset)
  • encode-uri-component(str)
  • str-contains(str, substr)
  • str-length(str)
  • str-substr(str, start, length)
  • str-substr-after(str, search)
  • str-substr-before(str, search)
  • str-to-lower(str)
  • str-to-upper(str)