UNPKG

box-ui-elements

Version:
6 lines (4 loc) 220 B
import { type BoxItem } from '../../../common/types/core'; export function isFileLargerThan(file: BoxItem | null, breakpointSizeInBytes: number): boolean { return file ? file.size > breakpointSizeInBytes : false; }