isArrayLike
@param obj
@returns {boolean|*}
513489
function (obj) {
            return vQ.isArray(obj) || !vQ.isFunction(obj) &&
                ( obj.length === 0 || typeof obj.length === 'number' && obj.length > 0 && ( obj.length - 1 ) in obj );
        }
1107045
function isMap(obj) {
    return (obj && typeof obj === OBJECT && !(typeof obj.length === NUMBER && !(obj.propertyIsEnumerable(LENGTH))));
  }
25077
function(obj) {
        try {
            if(isString(obj)) {
                var jsonStart = obj.trim().charAt(0);
                if(jsonStart === '{' || jsonStart === '[') {
                    return JSON.parse(obj);
                }
            }
            return false;
        } catch(e) {
            return false;
        }
    }
648496
function is(obj, type) {
      if (!type) {
        return obj !== undefined;
      }

      if (type == 'array' && Arr.isArray(obj)) {
        return true;
      }

      return typeof obj == type;
    }
68152
function isPlainObject(obj) {
    return (
        typeof obj === 'object' &&
        obj !== null &&
        obj.constructor === Object &&
        Object.prototype.toString.call(obj) === '[object Object]'
    );
}
1261394
function checkObject (obj) {
  if (util.isArray(obj)) {
    obj.forEach(function (o) {
      checkObject(o);
    });
  }

  if (typeof obj === 'object' && obj !== null) {
    Object.keys(obj).forEach(function (k) {
      checkKey(k, obj[k]);
      checkObject(obj[k]);
    });
  }
}
985784
function isArrayLike(val) {
  return val != null && (isArray(val) || (val !== 'function' && isNumber(val.length)));
}
244065
function(obj) {
            var length = obj.length;
            return typeof arr !== "function" &&
            (length === 0 || typeof length === "number" && length > 0 && (length - 1) in obj);
        }
587435
function getFlagArrayFromObject(obj) {
  return Object.keys(obj).reduce((arr, key) => {
    const flag = `--${key.toLowerCase()}`;
    if (key === 'noUpdateNotifier' && typeof obj[key] === 'boolean') {
      return obj[key] ? [...arr, '--no-update-notifier'] : arr;
    } else if (key === 'noIgnore' && typeof obj[key] === 'boolean') {
      return obj[key] ? [...arr, '--no-ignore'] : arr;
    } else if (typeof obj[key] === 'boolean') {
      return obj[key] ? [...arr, flag] : arr;
    } else if (key === 'ignoredFile') {
      return [...arr, '--ignored-file', obj[key]];
    } else if (key === 'ignoredFiles') {
      const ignoredFiles = obj[key].reduce(
        (files, file) => [...files, '--ignored-file', file],
        []
      );
      return [...arr, ...ignoredFiles];
    } else if (key === 'files') {
      return [...arr, ...obj[key]];
    } else {
      return [...arr, flag, obj[key]];
    }
  }, []);
}
187421
function solcOutputLike(obj) {
  let isSolcLike = false;

  Object.keys(obj).forEach((key) => {
    if (!isSolcLike && typeof obj[key] === 'object') {
      isSolcLike = (typeof obj[key].bytecode === 'string'
                 && typeof obj[key].interface === 'string');
    }
  });

  return isSolcLike;
}
170694
private static boolean contains(Object[] arr, Object obj) {
	for (Object o : arr) {
	    if (o.equals(obj)) return true;
	}
	return false;
    }
214573
function array2object(arr, key){

//    if(typeof arr != "object" || !arr.hasOwnProperty("length")){}

    if(!util.isArray(arr) || !key || typeof key != "string"){
        return false;
    }

    var obj = {};
    for(var index in arr){
        if(arr.hasOwnProperty(index)){
            (function(index){
                var k  = arr[index][key];
                obj[k] = arr[index];
            })(index);
        }
    }

    return obj;
}
888992
function isBooleanArray( value ) {
	var len;
	if ( !isArray( value ) ) {
		return false;
	}
	len = value.length;
	if ( !len ) {
		return false;
	}
	for ( var i = 0; i < len; i++ ) {
		if ( !isBoolean( value[i] ) ) {
			return false;
		}
	}
	return true;
}
1181458
function arrayObjectIndexOf(arr, obj)
        {
            for (var i = 0; i < arr.length; i++)
            {
                if (angular.equals(arr[i], obj))
                {
                    return i;
                }
            }

            return -1;
        }
557957
function isKey(value, object) {
        if (isArray(value)) {
            return false;
        }
        var type = typeof value;
        if (
            type == "number" ||
            type == "symbol" ||
            type == "boolean" ||
            value == null ||
            isSymbol(value)
        ) {
            return true;
        }
        return (
            reIsPlainProp.test(value) ||
            !reIsDeepProp.test(value) ||
            (object != null && value in Object(object))
        );
    }
514407
public static boolean isJsonArray(String str) {
		if (StrUtil.isBlank(str)) {
			return false;
		}
		return StrUtil.isWrap(str.trim(), '[', ']');
	}
1206663
function isNested(obj) {
    if (getType(obj)==='object') {
        for (let tag in obj) {
            if (tag != TEXT && !ATTRTAG.test(tag)) {
                return true;
            }
        }
    }
}