(tables: ReadonlySet<string> | undefined, table: PropertyKey)
| 254 | } |
| 255 | |
| 256 | const isAllowedTable = (tables: ReadonlySet<string> | undefined, table: PropertyKey): boolean => |
| 257 | tables === undefined || (typeof table === "string" && tables.has(table)); |
| 258 | |
| 259 | const assertAllowedTable = (tables: ReadonlySet<string> | undefined, table: PropertyKey): void => { |
| 260 | if (isAllowedTable(tables, table)) return; |
no outgoing calls
no test coverage detected