hasDeprecatedGitHubAppIDField returns true when any github-app object contains app-id.
(frontmatter map[string]any)
| 31 | |
| 32 | // hasDeprecatedGitHubAppIDField returns true when any github-app object contains app-id. |
| 33 | func hasDeprecatedGitHubAppIDField(frontmatter map[string]any) bool { |
| 34 | return containsDeprecatedGitHubAppID(frontmatter) |
| 35 | } |
| 36 | |
| 37 | func containsDeprecatedGitHubAppID(value any) bool { |
| 38 | switch v := value.(type) { |
no test coverage detected