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

Function isBoostedSquadAd

packages/shared/src/hooks/useFeed.ts:157–158  ·  view source on GitHub ↗
(item: FeedItem)

Source from the content-addressed store, hash-verified

155 item?.type === FeedItemType.Ad && !!item.ad.data?.post;
156
157export const isBoostedSquadAd = (item: FeedItem): item is AdSquadItem =>
158 item?.type === FeedItemType.Ad && !!item.ad.data?.source;
159
160export type UpdateFeedPost = (page: number, index: number, post: Post) => void;
161

Callers 2

WithFeedLogExtraContextFunction · 0.90
FeedItemComponentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected