( contentPreference: ContentPreference | undefined, )
| 55 | }; |
| 56 | |
| 57 | export const isFollowingContent = ( |
| 58 | contentPreference: ContentPreference | undefined, |
| 59 | ): boolean => { |
| 60 | const status = contentPreference?.status; |
| 61 | |
| 62 | return ( |
| 63 | status === ContentPreferenceStatus.Follow || |
| 64 | status === ContentPreferenceStatus.Subscribed |
| 65 | ); |
| 66 | }; |
no outgoing calls
no test coverage detected