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