MCPcopy Create free account
hub / github.com/dailydotdev/apps / isFollowingContent

Function isFollowingContent

packages/shared/src/hooks/contentPreference/types.ts:57–66  ·  view source on GitHub ↗
(
  contentPreference: ContentPreference | undefined,
)

Source from the content-addressed store, hash-verified

55};
56
57export 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};

Callers 3

CommentActionButtonsFunction · 0.90
CommentActionButtonsV1Function · 0.90
PostOptionButtonContentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected