Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
19 lines
483 B
TypeScript
19 lines
483 B
TypeScript
// Module ID: 13308
|
|
// Function ID: 13309
|
|
// Name: didReplyMention
|
|
// Dependencies: [2]
|
|
// Exports: default
|
|
|
|
// Module 13308 (didReplyMention)
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("modules/replies/didReplyMention.tsx");
|
|
|
|
export default function didReplyMention(mentions, author) {
|
|
let hasItem = null != author;
|
|
if (hasItem) {
|
|
mentions = mentions.mentions;
|
|
hasItem = mentions.includes(author.author.id);
|
|
}
|
|
return hasItem;
|
|
};
|