code: function findIndex(list, predicate) {
    for (var i = 0, item; item = list[i]; i++)
      if (predicate(item)) return i;
  
    return -1;
  }
docs: @function module:kurentoClient.KurentoClient~findIndex
  
  @param {external:Array} list
  @param {external:Function} predicate
  
  @return {external:Integer}