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

Function isImmutableUnorderedSet

packages/expect/src/jest-utils.ts:384–390  ·  view source on GitHub ↗
(maybeSet: any)

Source from the content-addressed store, hash-verified

382}
383
384export function isImmutableUnorderedSet(maybeSet: any): boolean {
385 return !!(
386 maybeSet
387 && maybeSet[IS_SET_SENTINEL]
388 && !maybeSet[IS_ORDERED_SENTINEL]
389 )
390}
391
392function isObjectLiteral(source: unknown): source is Record<string, unknown> {
393 return source != null && typeof source === 'object' && !Array.isArray(source)

Callers 1

iterableEqualityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected