Check if a value is a nested plain object in a select (not an IR expression node)
(value: any)
| 1891 | |
| 1892 | /** Check if a value is a nested plain object in a select (not an IR expression node) */ |
| 1893 | function isNestedSelectObject(value: any): value is Record<string, any> { |
| 1894 | return ( |
| 1895 | value != null && |
| 1896 | typeof value === `object` && |
| 1897 | !Array.isArray(value) && |
| 1898 | !isExpressionLike(value) |
| 1899 | ) |
| 1900 | } |
| 1901 | |
| 1902 | function assertNoNestedIncludes( |
| 1903 | obj: Record<string, any>, |
no test coverage detected