// Copyright (c) 2026 Hellmai Ltd
// SPDX-License-Identifier: AGPL-3.0-only
const TYPEOF_OBJECT = 'object';
export function asRecord(value) {
    return value && typeof value === TYPEOF_OBJECT && !Array.isArray(value)
        ? value
        : null;
}
//# sourceMappingURL=object-guards.js.map