16 lines
644 B
TypeScript
16 lines
644 B
TypeScript
// Module ID: 12563
|
|
// Function ID: 12564
|
|
// Name: isGuildLikeSearchContext
|
|
// Dependencies: [1085, 2]
|
|
// Exports: isGuildLikeSearchContext
|
|
|
|
// Module 12563 (isGuildLikeSearchContext)
|
|
import Constants from "Constants" /* 1085 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const SearchTypes = Constants.SearchTypes;
|
|
const result = size.fileFinishedImporting("modules/search/isGuildLikeSearchContext.tsx");
|
|
|
|
export const isGuildLikeSearchContext = function isGuildLikeSearchContext(searchContext) {
|
|
return searchContext.type === SearchTypes.GUILD || searchContext.type === SearchTypes.GUILD_CHANNEL || searchContext.type === SearchTypes.THREAD;
|
|
};
|