macoolka-collection
Version:
`macoolka-collection` Define Data Collection Interface.
32 lines • 743 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.data = exports.basicEq = void 0;
var Eq_1 = require("fp-ts/Eq");
exports.basicEq = (0, Eq_1.contramap)(function (a) { return a.name; })(Eq_1.eqString);
exports.data = [{
id: '1',
name: 'john',
age: 21,
isFemale: false,
city: 'beijing'
}, {
id: '2',
name: 'zhang',
age: 34,
isFemale: false,
city: 'beijing'
}, {
id: '3',
name: 'taylor',
age: 23,
isFemale: true,
city: 'newyork'
}, {
id: '4',
name: 'sam',
age: 53,
isFemale: true,
city: 'london'
}
];
//# sourceMappingURL=basic.js.map