(value: unknown)
| 138 | type KeysOfUnion<T> = T extends object ? keyof T : never; |
| 139 | export type SpecialOperatorKey = KeysOfUnion<SpecialOperator>; |
| 140 | export function isSpecialOperator(value: unknown): value is SpecialOperator { |
| 141 | return ( |
| 142 | isExistsOperator(value) || |
| 143 | isTypeOperator(value) || |
| 144 | isMatchesEntityOperator(value) || |
| 145 | isMatchesHexBytesOperator(value) || |
| 146 | isUnsetOrMatchesOperator(value) || |
| 147 | isSessionLsidOperator(value) || |
| 148 | isMatchAsRootOperator(value) || |
| 149 | isMatchAsDocumentOperator(value) || |
| 150 | isLteOperator(value) |
| 151 | ); |
| 152 | } |
| 153 | |
| 154 | const TYPE_MAP = new Map(); |
| 155 |
no test coverage detected