(table: Record<string, A>, name: string)
| 208 | |
| 209 | // Class names come from user input, so never resolve them through the prototype |
| 210 | const lookup = <A>(table: Record<string, A>, name: string): A | undefined => |
| 211 | Object.hasOwn(table, name) ? table[name] : undefined |
| 212 | |
| 213 | // ----------------------------------------------------------------------------- |
| 214 | // gitignore |
no outgoing calls
no test coverage detected