5 lines
153 B
TypeScript
5 lines
153 B
TypeScript
|
import type { Metadata } from "./types/file";
|
||
|
|
||
|
export const hasFileHash = (file: Metadata) =>
|
||
|
!!file.hash || (!!file.imageHash && !!file.videoHash);
|