(tables: ReadonlySet<string> | undefined, table: PropertyKey)
| 112 | } |
| 113 | |
| 114 | const isAllowedTable = (tables: ReadonlySet<string> | undefined, table: PropertyKey): boolean => |
| 115 | tables === undefined || (typeof table === "string" && tables.has(table)); |
| 116 | |
| 117 | const assertAllowedTable = (tables: ReadonlySet<string> | undefined, table: PropertyKey): void => { |
| 118 | if (isAllowedTable(tables, table)) return; |
no outgoing calls
no test coverage detected