Lines Matching refs:object

323 	function fromObject (that, object) {
324 if (Buffer.isBuffer(object)) return fromBuffer(that, object)
326 if (isArray(object)) return fromArray(that, object)
328 if (object == null) {
333 if (object.buffer instanceof ArrayBuffer) {
334 return fromTypedArray(that, object)
336 if (object instanceof ArrayBuffer) {
337 return fromArrayBuffer(that, object)
341 if (object.length) return fromArrayLike(that, object)
343 return fromJsonObject(that, object)
398 function fromJsonObject (that, object) {
402 if (object.type === 'Buffer' && isArray(object.data)) {
403 array = object.data
2782 function compareAscending(object, other) {
2783 return baseCompareAscending(object.criteria, other.criteria) || (object.index - other.index);
2795 function compareMultipleAscending(object, other) {
2797 objCriteria = object.criteria,
2814 return object.index - other.index;
3884 function assignOwnDefaults(objectValue, sourceValue, key, object) {
3885 return (typeof objectValue == 'undefined' || !hasOwnProperty.call(object, key))
3900 function baseAssign(object, source, customizer) {
3903 return baseCopy(source, object, props);
3910 value = object[key],
3911 result = customizer(value, source[key], key, object, source);
3914 (typeof value == 'undefined' && !(key in object))) {
3915 object[key] = result;
3918 return object;
3958 function baseCopy(source, object, props) {
3960 props = object;
3961 object = {};
3968 object[key] = source[key];
3970 return object;
3982 function baseBindAll(object, methodNames) {
3988 object[key] = createWrapper(object[key], BIND_FLAG, object);
3990 return object;
4033 function baseClone(value, isDeep, customizer, key, object, stackA, stackB) {
4036 result = object ? customizer(value, key, object) : customizer(value);
4054 if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
4062 : (object ? value : {});
4331 function baseFor(object, iteratee, keysFunc) {
4333 iterable = toObject(object),
4334 props = keysFunc(object),
4343 return object;
4356 function baseForRight(object, iteratee, keysFunc) {
4357 var iterable = toObject(object),
4358 props = keysFunc(object),
4367 return object;
4379 function baseForIn(object, iteratee) {
4380 return baseFor(object, iteratee, keysIn);
4392 function baseForOwn(object, iteratee) {
4393 return baseFor(object, iteratee, keys);
4405 function baseForOwnRight(object, iteratee) {
4406 return baseForRight(object, iteratee, keys);
4418 function baseFunctions(object, props) {
4426 if (isFunction(object[key])) {
4503 function baseIsEqualDeep(object, other, equalFunc, customizer, isWhere, stackA, stackB) {
4504 var objIsArr = isArray(object),
4510 objTag = objToString.call(object);
4514 objIsArr = isTypedArray(object);
4530 return equalByTag(object, other, objTag);
4532 var valWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
4536 …return equalFunc(valWrapped ? object.value() : object, othWrapped ? other.value() : other, customi…
4548 if (stackA[length] == object) {
4553 stackA.push(object);
4556 …var result = (objIsArr ? equalArrays : equalObjects)(object, other, equalFunc, customizer, isWhere…
4576 function baseIsMatch(object, props, values, strictCompareFlags, customizer) {
4578 if (object == null) {
4586 ? values[index] !== object[props[index]]
4587 : !hasOwnProperty.call(object, props[index])
4596 var result = hasOwnProperty.call(object, key);
4598 var objValue = object[key],
4647 return function(object) {
4648 return object != null && value === object[key] && hasOwnProperty.call(object, key);
4660 return function(object) {
4661 return baseIsMatch(object, props, values, strictCompareFlags);
4677 function baseMerge(object, source, customizer, stackA, stackB) {
4684 return baseMergeDeep(object, source, key, baseMerge, customizer, stackA, stackB);
4686 var value = object[key],
4687 result = customizer ? customizer(value, srcValue, key, object, source) : undefined,
4695 object[key] = result;
4698 return object;
4716 function baseMergeDeep(object, source, key, mergeFunc, customizer, stackA, stackB) {
4722 object[key] = stackB[length];
4726 var value = object[key],
4727 result = customizer ? customizer(value, srcValue, key, object, source) : undefined,
4753 object[key] = mergeFunc(result, srcValue, customizer, stackA, stackB);
4755 object[key] = result;
4767 return function(object) {
4768 return object == null ? undefined : object[key];
4958 function baseValues(object, props) {
4964 result[index] = object[props[index]];
5099 case 5: return function(value, other, key, object, source) {
5100 return func.call(thisArg, value, other, key, object, source);
5244 object = arguments[0];
5246 if (length < 2 || object == null) {
5247 return object;
5262 assigner(object, source, customizer);
5265 return object;
5645 function equalByTag(object, other, tag) {
5651 return +object == +other;
5654 return object.name == other.name && object.message == other.message;
5658 return (object != +object)
5661 : (object == 0 ? ((1 / object) == (1 / other)) : object == +other);
5667 return object == (other + '');
5686 function equalObjects(object, other, equalFunc, customizer, isWhere, stackA, stackB) {
5687 var objProps = keys(object),
5703 var objValue = object[key],
5723 var objCtor = object.constructor,
5727 if (objCtor != othCtor && ('constructor' in object && 'constructor' in other) &&
5857 function initCloneObject(object) {
5858 var Ctor = object.constructor;
5878 function initCloneByTag(object, tag, isDeep) {
5879 var Ctor = object.constructor;
5882 return bufferClone(object);
5886 return new Ctor(+object);
5891 var buffer = object.buffer;
5892 return new Ctor(isDeep ? bufferClone(buffer) : buffer, object.byteOffset, object.length);
5896 return new Ctor(object);
5899 var result = new Ctor(object.source, reFlags.exec(object));
5900 result.lastIndex = object.lastIndex;
5953 function isIterateeCall(value, index, object) {
5954 if (!isObject(object)) {
5959 var length = object.length,
5962 prereq = type == 'string' && index in object;
5964 return prereq && object[index] === value;
6082 function pickByArray(object, props) {
6083 object = toObject(object);
6091 if (key in object) {
6092 result[key] = object[key];
6107 function pickByCallback(object, predicate) {
6109 baseForIn(object, function(value, key, object) {
6110 if (predicate(value, key, object)) {
6212 function shimKeys(object) {
6213 var props = keysIn(object),
6215 length = propsLength && object.length,
6219 (isArray(object) || (support.nonEnumArgs && isArguments(object)));
6226 if ((allowIndexes && isIndex(key, length)) || hasOwnProperty.call(object, key)) {
8989 function bindAll(object) {
8990 return baseBindAll(object,
8993 : functions(object)
9041 function bindKey(object, key) {
9049 return createWrapper(key, bitmask, object, partials, holders);
10224 function isMatch(object, source, customizer, thisArg) {
10234 return object != null && value === object[key] && hasOwnProperty.call(object, key);
10244 return baseIsMatch(object, props, values, strictCompareFlags, customizer);
10613 function defaults(object) {
10614 if (object == null) {
10615 return object;
10661 function findKey(object, predicate, thisArg) {
10663 return baseFind(object, predicate, baseForOwn, true);
10705 function findLastKey(object, predicate, thisArg) {
10707 return baseFind(object, predicate, baseForOwnRight, true);
10737 function forIn(object, iteratee, thisArg) {
10741 return baseFor(object, iteratee, keysIn);
10769 function forInRight(object, iteratee, thisArg) {
10771 return baseForRight(object, iteratee, keysIn);
10794 function forOwn(object, iteratee, thisArg) {
10798 return baseForOwn(object, iteratee);
10819 function forOwnRight(object, iteratee, thisArg) {
10821 return baseForRight(object, iteratee, keys);
10839 function functions(object) {
10840 return baseFunctions(object, keysIn(object));
10858 function has(object, key) {
10859 return object ? hasOwnProperty.call(object, key) : false;
10887 function invert(object, multiValue, guard) {
10888 if (guard && isIterateeCall(object, multiValue, guard)) {
10892 props = keys(object),
10898 value = object[key];
10941 var keys = !nativeKeys ? shimKeys : function(object) {
10942 if (object) {
10943 var Ctor = object.constructor,
10944 length = object.length;
10946 if ((typeof Ctor == 'function' && Ctor.prototype === object) ||
10947 (typeof object != 'function' && (length && isLength(length)))) {
10948 return shimKeys(object);
10950 return isObject(object) ? nativeKeys(object) : [];
10975 function keysIn(object) {
10976 if (object == null) {
10979 if (!isObject(object)) {
10980 object = Object(object);
10982 var length = object.length;
10984 (isArray(object) || (support.nonEnumArgs && isArguments(object))) && length) || 0;
10986 var Ctor = object.constructor,
10988 isProto = typeof Ctor == 'function' && Ctor.prototype == object,
10995 for (var key in object) {
10997 !(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {
11040 function mapValues(object, iteratee, thisArg) {
11044 baseForOwn(object, function(value, key, object) {
11045 result[key] = iteratee(value, key, object);
11126 function omit(object, predicate, thisArg) {
11127 if (object == null) {
11132 return pickByArray(object, baseDifference(keysIn(object), props));
11135 return pickByCallback(object, function(value, key, object) {
11136 return !predicate(value, key, object);
11154 function pairs(object) {
11156 props = keys(object),
11162 result[index] = [key, object[key]];
11193 function pick(object, predicate, thisArg) {
11194 if (object == null) {
11198 ? pickByCallback(object, bindCallback(predicate, thisArg, 3))
11199 : pickByArray(object, baseFlatten(arguments, false, false, 1));
11232 function result(object, key, defaultValue) {
11233 var value = object == null ? undefined : object[key];
11237 return isFunction(value) ? value.call(object) : value;
11271 function transform(object, iteratee, accumulator, thisArg) {
11272 var isArr = isArray(object) || isTypedArray(object);
11276 if (isArr || isObject(object)) {
11277 var Ctor = object.constructor;
11279 accumulator = isArray(object) ? new Ctor : [];
11287 (isArr ? arrayEach : baseForOwn)(object, function(value, index, object) {
11288 return iteratee(accumulator, value, index, object);
11318 function values(object) {
11319 return baseValues(object, keys(object));
11345 function valuesIn(object) {
11346 return baseValues(object, keysIn(object));
12456 function mixin(object, source, options) {
12465 source = object;
12466 object = this;
12474 isFunc = isFunction(object),
12486 object[methodName] = func;
12488 object.prototype[methodName] = (function(func) {
12492 var result = object(this.__wrapped__);
12493 …ions__ = arrayCopy(this.__actions__)).push({ 'func': func, 'args': arguments, 'thisArg': object });
12499 return func.apply(object, args);
12504 return object;
12586 function propertyOf(object) {
12588 return object == null ? undefined : object[key];
12840 lodash.object = zipObject;
20171 PDFObject.convert = function(object) {
20173 if (typeof object === 'string') {
20174 return '/' + object;
20175 } else if (object instanceof String) {
20176 string = object.replace(escapableRe, function(c) {
20190 } else if (Buffer.isBuffer(object)) {
20191 return '<' + object.toString('hex') + '>';
20192 } else if (object instanceof PDFReference) {
20193 return object.toString();
20194 } else if (object instanceof Date) {
20195object.getUTCFullYear(), 4) + pad(object.getUTCMonth(), 2) + pad(object.getUTCDate(), 2) + pad(obj…
20196 } else if (Array.isArray(object)) {
20200 for (_j = 0, _len = object.length; _j < _len; _j++) {
20201 e = object[_j];
20207 } else if ({}.toString.call(object) === '[object Object]') {
20209 for (key in object) {
20210 val = object[key];
20216 return '' + object;
27504 function isArguments(object) {
27505 return Object.prototype.toString.call(object) == '[object Arguments]';
30179 exports.invert = function(object) {
30182 for (key in object) {
30183 val = object[key];