(path: string)
| 120 | * Checks if the path opted out of nested fields using `[fieldName]` syntax |
| 121 | */ |
| 122 | export function isNotNestedPath(path: string) { |
| 123 | return /^\[.+\]$/.test(path); |
| 124 | } |
| 125 | function isObject(obj: unknown): obj is Record<string, unknown> { |
| 126 | return ( |
| 127 | obj !== null && !!obj && typeof obj === "object" && !Array.isArray(obj) |
no outgoing calls
no test coverage detected