(value: unknown)
| 55 | * Check if the value satisfy a `object` type in typescript |
| 56 | */ |
| 57 | export function isTypescriptObject(value: unknown): value is object & Record<PropertyKey, unknown> { |
| 58 | return !!value && (typeof value === 'object' || typeof value === 'function') |
| 59 | } |
| 60 | |
| 61 | export function clone<T>(value: T): T { |
| 62 | if (Array.isArray(value)) { |
no outgoing calls
no test coverage detected