MCPcopy
hub / github.com/vitest-dev/vitest / isImmutableRecord

Function isImmutableRecord

packages/expect/src/jest-utils.ts:418–420  ·  view source on GitHub ↗
(source: unknown)

Source from the content-addressed store, hash-verified

416}
417
418function isImmutableRecord(source: unknown): boolean {
419 return Boolean(source && isObjectLiteral(source) && source[IS_RECORD_SYMBOL])
420}
421
422/**
423 * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.

Callers 1

iterableEqualityFunction · 0.85

Calls 1

isObjectLiteralFunction · 0.85

Tested by

no test coverage detected