CyberStore Ecommerce 2023 Documentation
GetObjectFromArrayByKeyValue Method
The object.
The key.
The value.
Gets object from array by key value.
Syntax
var returnValue; // Type: any
returnValue = GetObjectFromArrayByKeyValue(obj, key, value);
function GetObjectFromArrayByKeyValue( 
   obj : any,
   key : any,
   value : any
) : any;

Parameters

obj
The object.
key
The key.
value
The value.

Return Value

The object from array by key value.