/* * Copyright (C) 2026 TomTom Navigation B.V. * Licensed under the Apache License, Version 2.0 */ /** A plain object, as opposed to an array, `null`, or a primitive. */ export function isRecord(value: unknown): value is Record { return typeof value === "object" && value !== null && !Array.isArray(value); }