@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
9 lines • 825 B
TypeScript
export declare function isAmityImagePost(post: Amity.InternalPost): post is Amity.Post<'image'>;
export declare function isAmityFilePost(post: Amity.InternalPost): post is Amity.Post<'file'>;
export declare function isAmityVideoPost(post: Amity.InternalPost): post is Amity.Post<'video'>;
export declare function isAmityLivestreamPost(post: Amity.InternalPost): post is Amity.Post<'liveStream'>;
export declare function isAmityPollPost(post: Amity.InternalPost): post is Amity.Post<'poll'>;
export declare function isAmityClipPost(post: Amity.InternalPost): post is Amity.Post<'clip'>;
export declare function isAmityAudioPost(post: Amity.InternalPost): post is Amity.Post<'audio'>;
export declare function isAmityRoomPost(post: Amity.InternalPost): post is Amity.Post<'room'>;
//# sourceMappingURL=postTypePredicate.d.ts.map