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