export function isRecord(input: unknown): input is Record { return typeof input === 'object' && input !== null && !Array.isArray(input) }