face-api.js
Version:
JavaScript API for face detection and face recognition in the browser with tensorflow.js
12 lines • 393 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
function isWithAge(obj) {
return typeof obj['age'] === 'number';
}
exports.isWithAge = isWithAge;
function extendWithAge(sourceObj, age) {
var extension = { age: age };
return Object.assign({}, sourceObj, extension);
}
exports.extendWithAge = extendWithAge;
//# sourceMappingURL=WithAge.js.map
;