Home > @magiclane/maps-sdk > SearchableParameterList > findParameter

SearchableParameterList.findParameter() method

Search for first occurrence of a parameter identifier.

Signature:

findParameter(key: string): GemParameter;

Parameters

Parameter

Type

Description

key

string

Parameter key as string

Returns:

GemParameter

GemParameter object. If not found then GemParameter.key is an empty string.

Exceptions

An exception if it fails.