lookup() Function

Function

lookup( multipleValues, dataToLookup, valueIfNotPresent )

Returns location of data within multiple values, or valueIfNotPresent.

Parameters

Keyword Type Description

multipleValues

Any Type

Values to lookup within.

dataToLookup

Any Type

Value to lookup within multipleValues.

valueIfNotPresent

Any Type

Value to return if dataToLookup is not present.

Returns

Integer

Examples

lookup({"a", "b", "c", "d"}, "c", -1) returns 3

Open in Github Built: Wed, Aug 16, 2023 (04:37:39 PM)

On This Page

FEEDBACK