(post: Post | null | undefined)
| 25 | * These should use DiscussionForumPosting schema per Google's guidelines |
| 26 | */ |
| 27 | export const isUserGeneratedPost = (post: Post | null | undefined): boolean => |
| 28 | post?.type ? USER_GENERATED_POST_TYPES.includes(post.type) : false; |
| 29 | |
| 30 | export const getSeoDescription = (post: Post): string => { |
| 31 | if (post?.summary) { |
no outgoing calls
no test coverage detected