( explain: FeedItemExplain | null | undefined, )
| 93 | * follow counted, or was set to Off, which only a follow is offered. |
| 94 | */ |
| 95 | export const isSourceFollowed = ( |
| 96 | explain: FeedItemExplain | null | undefined, |
| 97 | ): boolean => |
| 98 | isRankedExplain(explain) && |
| 99 | (isSourceFollow(explain) || |
| 100 | explain.follow.source_control === FollowControl.Off); |
| 101 | |
| 102 | /** The reader followed the card's author when it was ranked. */ |
| 103 | export const isAuthorFollowed = ( |
no test coverage detected