9 lines
357 B
JavaScript
9 lines
357 B
JavaScript
![]() |
import { FaceDetection } from '../classes/FaceDetection';
|
||
|
export function isWithFaceDetection(obj) {
|
||
|
return obj['detection'] instanceof FaceDetection;
|
||
|
}
|
||
|
export function extendWithFaceDetection(sourceObj, detection) {
|
||
|
const extension = { detection };
|
||
|
return Object.assign({}, sourceObj, extension);
|
||
|
}
|
||
|
//# sourceMappingURL=WithFaceDetection.js.map
|