19 lines
412 B
TypeScript
19 lines
412 B
TypeScript
|
|
// Module ID: 7274
|
||
|
|
// Function ID: 7275
|
||
|
|
// Name: sanitizeThreadName
|
||
|
|
// Dependencies: [2]
|
||
|
|
// Exports: default
|
||
|
|
|
||
|
|
// Module 7274 (sanitizeThreadName)
|
||
|
|
import size from "module_2" /* 2 */;
|
||
|
|
|
||
|
|
const result = size.fileFinishedImporting("modules/threads/sanitizeThreadName.tsx");
|
||
|
|
|
||
|
|
export default function sanitizeThreadName(str, arg1) {
|
||
|
|
let trimmed = str;
|
||
|
|
if (arg1) {
|
||
|
|
trimmed = str.trim();
|
||
|
|
}
|
||
|
|
return trimmed;
|
||
|
|
};
|