(value: unknown)
| 43 | * reach for isPlainRecord when you must exclude exotic objects. |
| 44 | */ |
| 45 | export function isRecordLike(value: unknown): value is Record<string, unknown> { |
| 46 | return typeof value === 'object' && value !== null && !Array.isArray(value) |
| 47 | } |
| 48 | |
| 49 | /** |
| 50 | * Recursively sorts the keys of every plain object reachable from {@link value}, |
no outgoing calls
no test coverage detected