(post: Post | ReadHistoryPost)
| 60 | ): boolean => post.sharedPost?.source?.type === SourceType.Squad; |
| 61 | |
| 62 | export const isVideoPost = (post: Post | ReadHistoryPost): boolean => |
| 63 | post?.type === PostType.VideoYouTube || |
| 64 | (post?.type === PostType.Share && |
| 65 | post?.sharedPost?.type === PostType.VideoYouTube); |
| 66 | |
| 67 | export const isSocialTwitterPost = ( |
| 68 | post: Pick<Post, 'type'> | undefined | null, |
no outgoing calls
no test coverage detected