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

SearchableParameterList.findByName() method

Search for first occurrence of a parameter identifier and get the name of the parameter.

Signature:

findByName(key: string): string;

Parameters

Parameter

Type

Description

key

string

Parameter key as string

Returns:

string

The name of the parameter if found. Empty string otherwise.

Exceptions

An exception if it fails.