MCPcopy Index your code
hub / github.com/code100x/cms / isExtendedQuestion

Function isExtendedQuestion

src/components/posts/PostCard.tsx:40–44  ·  view source on GitHub ↗
(
  post: ExtendedQuestion | Answer,
)

Source from the content-addressed store, hash-verified

38 parentAuthorName?: string | null;
39}
40const isExtendedQuestion = (
41 post: ExtendedQuestion | Answer,
42): post is ExtendedQuestion => {
43 return (post as ExtendedQuestion).slug !== undefined;
44};
45const PostCard: React.FC<IProps> = ({
46 post,
47 sessionUser,

Callers 1

PostCardFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected