UNPKG

@prezly/uploads

Version:

Types and utilities to handle uploaded files & images in Prezly

6 lines (4 loc) 209 B
import { isPlainObject } from 'is-plain-object'; export function isObject(value: unknown): value is Record<string, unknown> { return value !== null && typeof value === 'object' && isPlainObject(value); }