getFeature function

Returns the first feature of a layer matching a given attribute value

Syntax

getFeature( layer, attributeField, value )