(tables: ReadonlySet<string> | undefined, table: PropertyKey)
| 135 | } |
| 136 | |
| 137 | const isAllowedTable = (tables: ReadonlySet<string> | undefined, table: PropertyKey): boolean => |
| 138 | tables === undefined || (typeof table === "string" && tables.has(table)); |
| 139 | |
| 140 | const assertAllowedTable = (tables: ReadonlySet<string> | undefined, table: PropertyKey): void => { |
| 141 | if (isAllowedTable(tables, table)) return; |
no outgoing calls
no test coverage detected