Functions

abs

fun abs(
    Expression<Double>,  // Number value to get absolute.
): Expression<Double>

fun Expression<Double>.abs(): Expression<Double>

fun abs(
    Expression<Long>,  // Integer value to get absolute.
): Expression<Long>

fun Expression<Long>.abs(): Expression<Long>

acos

fun acos(
    Expression<Double>,  // Cosine value.
): Expression<Double>

fun Expression<Double>.acos(): Expression<Double>

addMillis

fun addMillis(
    Expression<Long>,  // Datetime value, date to add milliseconds.
    Expression<Long>,  // Integer value, count of milliseconds to add.
): Expression<Long>

argb

fun argb(
    Expression<Double>,  // Number value of alpha in range 0.0 to 1.0.
    Expression<Double>,  // Number value of red in range 0.0 to 1.0.
    Expression<Double>,  // Number value of green in range 0.0 to 1.0.
    Expression<Double>,  // Number value of blue in range 0.0 to 1.0.
): Expression<String>

asin

fun asin(
    Expression<Double>,  // Sine value.
): Expression<Double>

fun Expression<Double>.asin(): Expression<Double>

atan

fun atan(
    Expression<Double>,  // Tangent value.
): Expression<Double>

fun Expression<Double>.atan(): Expression<Double>

atan2

fun atan2(
    Expression<Double>,  // Y coordinate of the point
    Expression<Double>,  // X coordinate of the point
): Expression<Double>

ceil

fun ceil(
    Expression<Double>,  // Number value to round.
): Expression<Double>

fun Expression<Double>.ceil(): Expression<Double>

contains

fun contains(
    Expression<String>,  // String value to find substring.
    Expression<String>,  // String value substring to find.
): Expression<Boolean>

containsKey

fun containsKey(
    Expression<out Map<*, *>>,  // Dict.
    Expression<String>,  // Key in dictionary.
): Expression<Boolean>

copySign

fun copySign(
    Expression<Double>,  // Number value to copy value from.
    Expression<Double>,  // Number value to copy sign from.
): Expression<Double>

fun copySign(
    Expression<Long>,  // Integer value to copy value from.
    Expression<Long>,  // Integer value to copy sign from.
): Expression<Long>

cos

fun cos(
    Expression<Double>,  // Angle in radians.
): Expression<Double>

fun Expression<Double>.cos(): Expression<Double>

cot

fun cot(
    Expression<Double>,  // Angle in radians.
): Expression<Double>

fun Expression<Double>.cot(): Expression<Double>

decimalFormat

fun decimalFormat(
    Expression<Double>,  // Number value to format.
    Expression<String>,  // Number format, similar to ICU-like.
): Expression<String>

fun decimalFormat(
    Expression<Double>,  // Number value to format.
    Expression<String>,  // Number format, similar to ICU-like.
    Expression<String>,  // Locale.
): Expression<String>

fun decimalFormat(
    Expression<Long>,  // Integer value to format.
    Expression<String>,  // Number format, similar to ICU-like.
): Expression<String>

fun decimalFormat(
    Expression<Long>,  // Integer value to format.
    Expression<String>,  // Number format, similar to ICU-like.
    Expression<String>,  // Locale.
): Expression<String>

decodeUri

fun decodeUri(
    Expression<String>,  // String value to decode.
): Expression<String>

fun Expression<String>.decodeUri(): Expression<String>

div

fun div(
    Expression<Double>,  // Divisible number value.
    Expression<Double>,  // Divisor number value.
): Expression<Double>

fun div(
    Expression<Long>,  // Divisible integer value.
    Expression<Long>,  // Divisor integer value.
): Expression<Long>

encodeRegex

fun encodeRegex(
    Expression<String>,  // A string to encode.
): Expression<String>

fun Expression<String>.encodeRegex(): Expression<String>

encodeUri

fun encodeUri(
    Expression<String>,  // String value to translate.
): Expression<String>

fun Expression<String>.encodeUri(): Expression<String>

floor

fun floor(
    Expression<Double>,  // Number value to round.
): Expression<Double>

fun Expression<Double>.floor(): Expression<Double>

formatDateAsLocal

fun formatDateAsLocal(
    Expression<Long>,  // Datetime value, date to get milliseconds.
    Expression<String>,  // Date and time formats are specified by date and time pattern strings.
): Expression<String>

formatDateAsLocalWithLocale

fun formatDateAsLocalWithLocale(
    Expression<Long>,  // Datetime value, date to get milliseconds.
    Expression<String>,  // Date and time formats are specified by date and time pattern strings.
    Expression<String>,  // Language for specified date and time pattern strings.
): Expression<String>

formatDateAsUTC

fun formatDateAsUTC(
    Expression<Long>,  // Datetime value, date to get milliseconds.
    Expression<String>,  // Date and time formats are specified by date and time pattern strings.
): Expression<String>

formatDateAsUTCWithLocale

fun formatDateAsUTCWithLocale(
    Expression<Long>,  // Datetime value, date to get milliseconds.
    Expression<String>,  // Date and time formats are specified by date and time pattern strings.
    Expression<String>,  // Language for specified date and time pattern strings.
): Expression<String>

getArray

fun getArray(
    Expression<out Map<*, *>>,  // Dict.
    vararg Expression<String>,  // Path in dictionary.
): Expression<List<*>>

getArrayBoolean

fun getArrayBoolean(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
): Expression<Boolean>

getArrayColor

fun getArrayColor(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
): Expression<String>

getArrayFromArray

fun getArrayFromArray(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
): Expression<List<*>>

getArrayFromDict

fun getArrayFromDict(
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<List<*>>

getArrayInteger

fun getArrayInteger(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
): Expression<Long>

getArrayNumber

fun getArrayNumber(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
): Expression<Double>

getArrayOptBoolean

fun getArrayOptBoolean(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
    Expression<Boolean>,  // Fallback value if value by index not exists or it's is not a boolean.
): Expression<Boolean>

getArrayOptColor

fun getArrayOptColor(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
    Expression<String>,  // Fallback value if value by index not exists or it's is not a color.
): Expression<String>

getArrayOptInteger

fun getArrayOptInteger(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
    Expression<Long>,  // Fallback value if property does not exist or a property value is not an integer.
): Expression<Long>

getArrayOptNumber

fun getArrayOptNumber(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
    Expression<Double>,  // Fallback value if value by index not exists or it's is not a number.
): Expression<Double>

getArrayOptString

fun getArrayOptString(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
    Expression<String>,  // Fallback value if value by index not exists or it's is not a string.
): Expression<String>

getArrayOptUrl

fun getArrayOptUrl(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
    Expression<String>,  // Fallback value if value by index not exists or it's is not a url.
): Expression<String>

getArrayString

fun getArrayString(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
): Expression<String>

getArrayUrl

fun getArrayUrl(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
): Expression<String>

getBoolean

fun getBoolean(
    Expression<out Map<*, *>>,  // Dict.
    vararg Expression<String>,  // Path in dictionary.
): Expression<Boolean>

getBooleanFromArray

fun getBooleanFromArray(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
): Expression<Boolean>

getBooleanFromDict

fun getBooleanFromDict(
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<Boolean>

getBooleanValue

fun getBooleanValue(
    Expression<String>,  // Variable name.
    Expression<Boolean>,  // Fallback value.
): Expression<Boolean>

getColor

fun getColor(
    Expression<out Map<*, *>>,  // Dict.
    vararg Expression<String>,  // Path in dictionary.
): Expression<String>

getColorAlpha

fun getColorAlpha(
    Expression<String>,  // String value of color in hex format.
): Expression<Double>

fun Expression<String>.getColorAlpha(): Expression<Double>

getColorBlue

fun getColorBlue(
    Expression<String>,  // String value of color in hex format.
): Expression<Double>

fun Expression<String>.getColorBlue(): Expression<Double>

getColorFromArray

fun getColorFromArray(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
): Expression<String>

getColorFromDict

fun getColorFromDict(
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<String>

getColorGreen

fun getColorGreen(
    Expression<String>,  // String value of color in hex format.
): Expression<Double>

fun Expression<String>.getColorGreen(): Expression<Double>

getColorRed

fun getColorRed(
    Expression<String>,  // String value of color in hex format.
): Expression<Double>

fun Expression<String>.getColorRed(): Expression<Double>

getColorValue

fun getColorValue(
    Expression<String>,  // Variable name.
    Expression<String>,  // Fallback value.
): Expression<String>

getDay

fun getDay(
    Expression<Long>,  // Datetime value, date to get day of month.
): Expression<Long>

fun Expression<Long>.getDay(): Expression<Long>

getDayOfWeek

fun getDayOfWeek(
    Expression<Long>,  // Datetime value, date to get day of week.
): Expression<Long>

fun Expression<Long>.getDayOfWeek(): Expression<Long>

getDict

fun getDict(
    Expression<out Map<*, *>>,  // Dict.
    vararg Expression<String>,  // Path in dictionary.
): Expression<Map<*, *>>

getDictBoolean

fun getDictBoolean(
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<Boolean>

getDictColor

fun getDictColor(
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<String>

getDictFromArray

fun getDictFromArray(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
): Expression<Map<*, *>>

getDictFromDict

fun getDictFromDict(
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<Map<*, *>>

getDictInteger

fun getDictInteger(
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<Long>

getDictKeys

fun getDictKeys(
    Expression<out Map<*, *>>,  // Dictionary.
): Expression<List<*>>

fun Expression<out Map<*, *>>.getDictKeys(): Expression<List<*>>

getDictNumber

fun getDictNumber(
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<Double>

getDictOptBoolean

fun getDictOptBoolean(
    Expression<Boolean>,  // Fallback value if property does not exist or a property value is not a boolean.
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<Boolean>

getDictOptColor

fun getDictOptColor(
    Expression<String>,  // Fallback value if property does not exist or a property value is not a color.
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<String>

getDictOptInteger

fun getDictOptInteger(
    Expression<Long>,  // Fallback value if property does not exist or a property value is not an integer.
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<Long>

getDictOptNumber

fun getDictOptNumber(
    Expression<Double>,  // Fallback value if property does not exist or a property value is not a number.
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<Double>

getDictOptString

fun getDictOptString(
    Expression<String>,  // Fallback value if property does not exist or a property value is not a string.
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<String>

getDictOptUrl

fun getDictOptUrl(
    Expression<String>,  // Fallback value if property does not exist or a property value is not an url.
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<String>

getDictString

fun getDictString(
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<String>

getDictUrl

fun getDictUrl(
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<String>

getDictValues

fun getDictValues(
    Expression<out Map<*, *>>,  // Dictionary.
): Expression<List<*>>

fun Expression<out Map<*, *>>.getDictValues(): Expression<List<*>>

getHours

fun getHours(
    Expression<Long>,  // Datetime value, date to get hours.
): Expression<Long>

fun Expression<Long>.getHours(): Expression<Long>

getInteger

fun getInteger(
    Expression<out Map<*, *>>,  // Dict.
    vararg Expression<String>,  // Path in dictionary.
): Expression<Long>

getIntegerFromArray

fun getIntegerFromArray(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
): Expression<Long>

getIntegerFromDict

fun getIntegerFromDict(
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<Long>

getIntegerValue

fun getIntegerValue(
    Expression<String>,  // Variable name.
    Expression<Long>,  // Fallback value.
): Expression<Long>

getIntervalHours

fun getIntervalHours(
    Expression<Long>,  // Milliseconds count
): Expression<Long>

fun Expression<Long>.getIntervalHours(): Expression<Long>

getIntervalMinutes

fun getIntervalMinutes(
    Expression<Long>,  // Milliseconds count
): Expression<Long>

fun Expression<Long>.getIntervalMinutes(): Expression<Long>

getIntervalSeconds

fun getIntervalSeconds(
    Expression<Long>,  // Milliseconds count
): Expression<Long>

fun Expression<Long>.getIntervalSeconds(): Expression<Long>

getIntervalTotalDays

fun getIntervalTotalDays(
    Expression<Long>,  // Milliseconds count
): Expression<Long>

fun Expression<Long>.getIntervalTotalDays(): Expression<Long>

getIntervalTotalHours

fun getIntervalTotalHours(
    Expression<Long>,  // Milliseconds count
): Expression<Long>

fun Expression<Long>.getIntervalTotalHours(): Expression<Long>

getIntervalTotalMinutes

fun getIntervalTotalMinutes(
    Expression<Long>,  // Milliseconds count
): Expression<Long>

fun Expression<Long>.getIntervalTotalMinutes(): Expression<Long>

getIntervalTotalSeconds

fun getIntervalTotalSeconds(
    Expression<Long>,  // Milliseconds count
): Expression<Long>

fun Expression<Long>.getIntervalTotalSeconds(): Expression<Long>

getIntervalTotalWeeks

fun getIntervalTotalWeeks(
    Expression<Long>,  // Milliseconds count
): Expression<Long>

fun Expression<Long>.getIntervalTotalWeeks(): Expression<Long>

getKeys

fun getKeys(
    Expression<out Map<*, *>>,  // Dictionary.
): Expression<List<*>>

fun Expression<out Map<*, *>>.getKeys(): Expression<List<*>>

getMillis

fun getMillis(
    Expression<Long>,  // Datetime value, date to get milliseconds.
): Expression<Long>

fun Expression<Long>.getMillis(): Expression<Long>

getMinutes

fun getMinutes(
    Expression<Long>,  // Datetime value, date to get minutes.
): Expression<Long>

fun Expression<Long>.getMinutes(): Expression<Long>

getMonth

fun getMonth(
    Expression<Long>,  // Datetime value, date to get month.
): Expression<Long>

fun Expression<Long>.getMonth(): Expression<Long>

getNumber

fun getNumber(
    Expression<out Map<*, *>>,  // Dict.
    vararg Expression<String>,  // Path in dictionary.
): Expression<Double>

getNumberFromArray

fun getNumberFromArray(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
): Expression<Double>

getNumberFromDict

fun getNumberFromDict(
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<Double>

getNumberValue

fun getNumberValue(
    Expression<String>,  // Variable name.
    Expression<Double>,  // Fallback value.
): Expression<Double>

getOptArrayFromArray

fun getOptArrayFromArray(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
): Expression<List<*>>

getOptArrayFromDict

fun getOptArrayFromDict(
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<List<*>>

getOptBooleanFromArray

fun getOptBooleanFromArray(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
    Expression<Boolean>,  // Fallback value if value by index not exists or it's is not a boolean.
): Expression<Boolean>

getOptBooleanFromDict

fun getOptBooleanFromDict(
    Expression<Boolean>,  // Fallback value if property does not exist or a property value is not a boolean.
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<Boolean>

getOptColorFromArray

fun getOptColorFromArray(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
    Expression<String>,  // Fallback value if value by index not exists or it's is not a color.
): Expression<String>

getOptColorFromDict

fun getOptColorFromDict(
    Expression<String>,  // Fallback value if property does not exist or a property value is not a color.
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<String>

getOptDictFromArray

fun getOptDictFromArray(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
): Expression<Map<*, *>>

getOptDictFromDict

fun getOptDictFromDict(
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<Map<*, *>>

getOptIntegerFromArray

fun getOptIntegerFromArray(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
    Expression<Long>,  // Fallback value if property does not exist or a property value is not an integer.
): Expression<Long>

getOptIntegerFromDict

fun getOptIntegerFromDict(
    Expression<Long>,  // Fallback value if property does not exist or a property value is not an integer.
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<Long>

getOptNumberFromArray

fun getOptNumberFromArray(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
    Expression<Double>,  // Fallback value if value by index not exists or it's is not a number.
): Expression<Double>

getOptNumberFromDict

fun getOptNumberFromDict(
    Expression<Double>,  // Fallback value if property does not exist or a property value is not a number.
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<Double>

getOptStringFromArray

fun getOptStringFromArray(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
    Expression<String>,  // Fallback value if value by index not exists or it's is not a string.
): Expression<String>

getOptStringFromDict

fun getOptStringFromDict(
    Expression<String>,  // Fallback value if property does not exist or a property value is not a string.
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<String>

getOptUrlFromArray

fun getOptUrlFromArray(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
    Expression<String>,  // Fallback value if value by index not exists or it's is not a url.
): Expression<String>

getOptUrlFromDict

fun getOptUrlFromDict(
    Expression<String>,  // Fallback value if property does not exist or a property value is not an url.
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<String>

getSeconds

fun getSeconds(
    Expression<Long>,  // Datetime value, date to get seconds.
): Expression<Long>

fun Expression<Long>.getSeconds(): Expression<Long>

getStoredArrayValue

fun getStoredArrayValue(
    Expression<String>,  // Stored value name.
): Expression<List<*>>

fun Expression<String>.getStoredArrayValue(): Expression<List<*>>

getStoredBooleanValue

fun getStoredBooleanValue(
    Expression<String>,  // Stored value name.
    Expression<Boolean>,  // Fallback value.
): Expression<Boolean>

getStoredColorValue

fun getStoredColorValue(
    Expression<String>,  // Stored value name.
    Expression<String>,  // Fallback value.
): Expression<String>

getStoredDictValue

fun getStoredDictValue(
    Expression<String>,  // Stored value name.
): Expression<Map<*, *>>

fun Expression<String>.getStoredDictValue(): Expression<Map<*, *>>

getStoredIntegerValue

fun getStoredIntegerValue(
    Expression<String>,  // Stored value name.
    Expression<Long>,  // Fallback value.
): Expression<Long>

getStoredNumberValue

fun getStoredNumberValue(
    Expression<String>,  // Stored value name.
    Expression<Double>,  // Fallback value.
): Expression<Double>

getStoredStringValue

fun getStoredStringValue(
    Expression<String>,  // Stored value name.
    Expression<String>,  // Fallback value.
): Expression<String>

getStoredUrlValue

fun getStoredUrlValue(
    Expression<String>,  // Stored value name.
    Expression<String>,  // Fallback value.
): Expression<String>

getString

fun getString(
    Expression<out Map<*, *>>,  // Dict.
    vararg Expression<String>,  // Path in dictionary.
): Expression<String>

getStringFromArray

fun getStringFromArray(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
): Expression<String>

getStringFromDict

fun getStringFromDict(
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<String>

getStringValue

fun getStringValue(
    Expression<String>,  // Variable name.
    Expression<String>,  // Fallback value.
): Expression<String>

getUrl

fun getUrl(
    Expression<out Map<*, *>>,  // Dict.
    vararg Expression<String>,  // Path in dictionary.
): Expression<String>

getUrlFromArray

fun getUrlFromArray(
    Expression<out List<*>>,  // Array.
    Expression<Long>,  // Index at array.
): Expression<String>

getUrlFromDict

fun getUrlFromDict(
    Expression<out Map<*, *>>,  // Dictionary.
    vararg Expression<String>,  // Path in dictionary.
): Expression<String>

getUrlValue

fun getUrlValue(
    Expression<String>,  // Variable name.
    Expression<String>,  // Fallback value.
): Expression<String>

getValues

fun getValues(
    Expression<out Map<*, *>>,  // Dictionary.
): Expression<List<*>>

fun Expression<out Map<*, *>>.getValues(): Expression<List<*>>

getYear

fun getYear(
    Expression<Long>,  // Datetime value, date to get year.
): Expression<Long>

fun Expression<Long>.getYear(): Expression<Long>

index

fun index(
    Expression<String>,  // String value, original string.
    Expression<String>,  // String value, string to find.
): Expression<Long>

isEmpty

fun isEmpty(
    Expression<out Map<*, *>>,  // Dict.
): Expression<Boolean>

fun Expression<out Map<*, *>>.isEmpty(): Expression<Boolean>

lastIndex

fun lastIndex(
    Expression<String>,  // String value, original string.
    Expression<String>,  // String value, string to find.
): Expression<Long>

len

fun len(
    Expression<String>,  // String value to get length of.
): Expression<Long>

fun Expression<String>.len(): Expression<Long>

fun len(
    Expression<out List<*>>,  // Array value to get length of.
): Expression<Long>

fun Expression<out List<*>>.len(): Expression<Long>

fun len(
    Expression<out Map<*, *>>,  // Dictionary.
): Expression<Long>

fun Expression<out Map<*, *>>.len(): Expression<Long>

max

fun max(
    vararg Expression<Double>,  // Number value.
): Expression<Double>

fun max(
    vararg Expression<Long>,  // Integer value.
): Expression<Long>

maxInteger

fun maxInteger(): Expression<Long>

maxNumber

fun maxNumber(): Expression<Double>

min

fun min(
    vararg Expression<Double>,  // Number value.
): Expression<Double>

fun min(
    vararg Expression<Long>,  // Integer value.
): Expression<Long>

minInteger

fun minInteger(): Expression<Long>

minNumber

fun minNumber(): Expression<Double>

mod

fun mod(
    Expression<Double>,  // Divisible number value.
    Expression<Double>,  // Divisor number value.
): Expression<Double>

fun mod(
    Expression<Long>,  // Divisible integer value.
    Expression<Long>,  // Divisor integer value.
): Expression<Long>

mul

fun mul(
    vararg Expression<Double>,  // Number value to multiply.
): Expression<Double>

fun mul(
    vararg Expression<Long>,  // Integer value to multiply.
): Expression<Long>

nowLocal

fun nowLocal(): Expression<Long>

padEnd

fun padEnd(
    Expression<Long>,  // Integer value to pad.
    Expression<Long>,  // String length
    Expression<String>,  // String character to pad with
): Expression<String>

fun padEnd(
    Expression<String>,  // String value to pad.
    Expression<Long>,  // String length
    Expression<String>,  // String character to pad with
): Expression<String>

padStart

fun padStart(
    Expression<Long>,  // Integer value to pad.
    Expression<Long>,  // String length
    Expression<String>,  // String character to pad with
): Expression<String>

fun padStart(
    Expression<String>,  // String value to pad.
    Expression<Long>,  // String length
    Expression<String>,  // String character to pad with
): Expression<String>

parseUnixTime

fun parseUnixTime(
    Expression<Long>,  // Time in UTC seconds from the epoch.
): Expression<Long>

fun Expression<Long>.parseUnixTime(): Expression<Long>

parseUnixTimeAsLocal

fun parseUnixTimeAsLocal(
    Expression<Long>,  // Time in local time zone seconds from the epoch.
): Expression<Long>

fun Expression<Long>.parseUnixTimeAsLocal(): Expression<Long>

pi

fun pi(): Expression<Double>

replaceAll

fun replaceAll(
    Expression<String>,  // String value, original string.
    Expression<String>,  // String value, string to find.
    Expression<String>,  // String value, string to replace.
): Expression<String>

rgb

fun rgb(
    Expression<Double>,  // Number value of red in range 0.0 to 1.0.
    Expression<Double>,  // Number value of green in range 0.0 to 1.0.
    Expression<Double>,  // Number value of blue in range 0.0 to 1.0.
): Expression<String>

round

fun round(
    Expression<Double>,  // Number value to round.
): Expression<Double>

fun Expression<Double>.round(): Expression<Double>

setColorAlpha

fun setColorAlpha(
    Expression<String>,  // String value of color in hex format.
    Expression<Double>,  // Number value of alpha in range 0.0 to 1.0.
): Expression<String>

setColorBlue

fun setColorBlue(
    Expression<String>,  // String value of color in hex format.
    Expression<Double>,  // Number value of blue in range 0.0 to 1.0.
): Expression<String>

setColorGreen

fun setColorGreen(
    Expression<String>,  // String value of color in hex format.
    Expression<Double>,  // Number value of green in range 0.0 to 1.0.
): Expression<String>

setColorRed

fun setColorRed(
    Expression<String>,  // String value of color in hex format.
    Expression<Double>,  // Number value of red in range 0.0 to 1.0.
): Expression<String>

setDay

fun setDay(
    Expression<Long>,  // Datetime value, date to set day of month.
    Expression<Long>,  // Integer value, day of month to set to date.
): Expression<Long>

setHours

fun setHours(
    Expression<Long>,  // Datetime value, date to set hours.
    Expression<Long>,  // Integer value, hours to set to date.
): Expression<Long>

setMillis

fun setMillis(
    Expression<Long>,  // Datetime value, date to set milliseconds.
    Expression<Long>,  // Integer value, milliseconds to set to date.
): Expression<Long>

setMinutes

fun setMinutes(
    Expression<Long>,  // Datetime value, date to set minutes.
    Expression<Long>,  // Integer value, minutes to set to date.
): Expression<Long>

setMonth

fun setMonth(
    Expression<Long>,  // Datetime value, date to set month.
    Expression<Long>,  // Integer value, month to set to date. Expected values from 1 to 12.
): Expression<Long>

setSeconds

fun setSeconds(
    Expression<Long>,  // Datetime value, date to set seconds.
    Expression<Long>,  // Integer value, seconds to set to date.
): Expression<Long>

setYear

fun setYear(
    Expression<Long>,  // Datetime value, date to set year.
    Expression<Long>,  // Integer value, year to set to date.
): Expression<Long>

signum

fun signum(
    Expression<Double>,  // Number value to get sign value.
): Expression<Double>

fun Expression<Double>.signum(): Expression<Double>

fun signum(
    Expression<Long>,  // Integer value to get sign value.
): Expression<Long>

fun Expression<Long>.signum(): Expression<Long>

sin

fun sin(
    Expression<Double>,  // Angle in radians.
): Expression<Double>

fun Expression<Double>.sin(): Expression<Double>

sub

fun sub(
    vararg Expression<Double>,  // Number value to subtract.
): Expression<Double>

fun sub(
    vararg Expression<Long>,  // Integer value to subtract.
): Expression<Long>

substring

fun substring(
    Expression<String>,  // String value to get substring from.
    Expression<Long>,  // Integer value, left index of substring.
    Expression<Long>,  // Integer value, right index of substring.
): Expression<String>

sum

fun sum(
    vararg Expression<Double>,  // Number value to sum.
): Expression<Double>

fun sum(
    vararg Expression<Long>,  // Integer value to sum.
): Expression<Long>

tan

fun tan(
    Expression<Double>,  // Angle in radians.
): Expression<Double>

fun Expression<Double>.tan(): Expression<Double>

testRegex

fun testRegex(
    Expression<String>,  // A string to test.
    Expression<String>,  // Regex string.
): Expression<Boolean>

toBoolean

fun toBoolean(
    Expression<Long>,  // Integer value to convert.
): Expression<Boolean>

fun Expression<Long>.toBoolean(): Expression<Boolean>

fun toBoolean(
    Expression<String>,  // String value to convert.
): Expression<Boolean>

fun Expression<String>.toBoolean(): Expression<Boolean>

toColor

fun toColor(
    Expression<String>,  // String value to convert.
): Expression<String>

fun Expression<String>.toColor(): Expression<String>

toDegrees

fun toDegrees(
    Expression<Double>,  // Number value representing radians.
): Expression<Double>

fun Expression<Double>.toDegrees(): Expression<Double>

toInteger

fun toInteger(
    Expression<Boolean>,  // Boolean value to convert.
): Expression<Long>

fun Expression<Boolean>.toInteger(): Expression<Long>

fun toInteger(
    Expression<Double>,  // Number value to convert.
): Expression<Long>

fun Expression<Double>.toInteger(): Expression<Long>

fun toInteger(
    Expression<String>,  // String value to convert.
): Expression<Long>

fun Expression<String>.toInteger(): Expression<Long>

toLowerCase

fun toLowerCase(
    Expression<String>,  // String value to transform.
): Expression<String>

fun Expression<String>.toLowerCase(): Expression<String>

toNumber

fun toNumber(
    Expression<Long>,  // Integer value to convert.
): Expression<Double>

fun Expression<Long>.toNumber(): Expression<Double>

fun toNumber(
    Expression<String>,  // String value to convert.
): Expression<Double>

fun Expression<String>.toNumber(): Expression<Double>

toRadians

fun toRadians(
    Expression<Double>,  // Number value representing degrees.
): Expression<Double>

fun Expression<Double>.toRadians(): Expression<Double>

toString

fun toString(
    Expression<Boolean>,  // Boolean value.
): Expression<String>

fun toString(
    Expression<Double>,  // Number value.
): Expression<String>

fun toString(
    Expression<Long>,  // Integer Value.
): Expression<String>

fun toString(
    Expression<String>,  // Color value.
): Expression<String>

fun toString(
    Expression<out List<*>>,  // Array value.
): Expression<String>

fun toString(
    Expression<out Map<*, *>>,  // Dictionary value.
): Expression<String>

toUpperCase

fun toUpperCase(
    Expression<String>,  // String value to transform.
): Expression<String>

fun Expression<String>.toUpperCase(): Expression<String>

toUrl

fun toUrl(
    Expression<String>,  // String value to convert.
): Expression<String>

fun Expression<String>.toUrl(): Expression<String>

trim

fun trim(
    Expression<String>,  // String value to trim.
): Expression<String>

fun Expression<String>.trim(): Expression<String>

trimLeft

fun trimLeft(
    Expression<String>,  // String value to trim.
): Expression<String>

fun Expression<String>.trimLeft(): Expression<String>

trimRight

fun trimRight(
    Expression<String>,  // String value to trim.
): Expression<String>

fun Expression<String>.trimRight(): Expression<String>

Next