IBM Cloud Docs
DataPrime general functions

DataPrime general functions

This guide provides a glossary of IBM® Cloud Logs DataPrime general functions.

firstNonNull

Returns the first non-null value from the parameters. Works only on scalars.

firstNonNull(value: any, ...values: any): any

if

Return either the then or else according to the result of condition.

if(condition: bool, then: any, else: any?): any

in

Tests if the comparand is equal to any of the values in a set v1 ... vN.

in(comparand: any, value: any, ...values: any): bool

recordLocation

Returns the location of the record (for example, s3 URL).

recordLocation(): string