CyberStore Documentation
GetPropertyValueFromArrayByKeyValue Method
The object.
The key property for the object.
The key property value for the object.
The property who's value to return.
Gets property value from array of objects by key value.
Syntax
var returnValue; // Type: any
returnValue = GetPropertyValueFromArrayByKeyValue(obj, key, Value, property);
function GetPropertyValueFromArrayByKeyValue( 
   obj : any,
   key : any,
   Value : any,
   property : any
) : any;

Parameters

obj
The object.
key
The key property for the object.
Value
The key property value for the object.
property
The property who's value to return.

Return Value

The property value from the object in the array which matches the key and value, or an empty string if the object or proprety cannot be found.