(tables: ReadonlySet<string> | undefined, table: PropertyKey)
| 320 | } |
| 321 | |
| 322 | const isAllowedTable = (tables: ReadonlySet<string> | undefined, table: PropertyKey): boolean => |
| 323 | tables === undefined || (typeof table === "string" && tables.has(table)); |
| 324 | |
| 325 | const assertAllowedTable = (tables: ReadonlySet<string> | undefined, table: PropertyKey): void => { |
| 326 | if (isAllowedTable(tables, table)) return; |
no outgoing calls
no test coverage detected