Lines Matching refs:resolve
1007 function resolve(value) { function
1016 assert.strictEqual(fp.findFrom(resolve(1))(1)(objects), objects[2]);
1017 assert.strictEqual(fp.findFrom(resolve(2))(-2)(objects), objects[3]);
1026 function resolve(value) {
1035 assert.strictEqual(fp.findLastFrom(resolve(1))(1)(objects), objects[0]);
1036 assert.strictEqual(fp.findLastFrom(resolve(2))(-2)(objects), objects[1]);
1046 resolve = methodName == 'findIndexFrom' ? fp.eq : _.identity;
1053 assert.strictEqual(func(resolve(1))(2)(array), 3);
1054 assert.strictEqual(func(resolve(2))(-3)(array), 4);
1064 resolve = methodName == 'findLastIndexFrom' ? fp.eq : _.identity;
1071 assert.strictEqual(func(resolve(2))(3)(array), 1);
1072 assert.strictEqual(func(resolve(3))(-3)(array), 2);