(
githubId: number | null | undefined,
)
| 31 | ); |
| 32 | |
| 33 | export function isCommunityModelAllowedGithubId( |
| 34 | githubId: number | null | undefined, |
| 35 | ): boolean { |
| 36 | return ( |
| 37 | typeof githubId === "number" && |
| 38 | COMMUNITY_MODEL_ALLOWED_GITHUB_ID_SET.has(githubId) |
| 39 | ); |
| 40 | } |
| 41 | |
| 42 | /** |
| 43 | * Parse a comma-separated list of numeric GitHub user IDs. |
no outgoing calls
no test coverage detected