MCPcopy
hub / github.com/solidSpoon/DashPlayer / trim

Method trim

src/common/utils/Util.ts:48–50  ·  view source on GitHub ↗
(str: string | null | undefined)

Source from the content-addressed store, hash-verified

46 }
47
48 public static trim(str: string | null | undefined): string {
49 return (str ?? '').trim();
50 }
51
52 public static cmpTaskState(task: Nullable<DpTask>, status: (DpTaskState | 'none')[]): boolean {
53 const taskStatus = task?.status;

Callers 15

normalizeCsvInputFunction · 0.80
normalizeFocusTokenFunction · 0.80
extractFocusTokenFunction · 0.80
formatLineFunction · 0.80
getWordsMapByClipKeysMethod · 0.80
loadDefaultVocabularyFunction · 0.80
getPersistedStringFunction · 0.80
parseOpenAiModelsFunction · 0.80
updateStorageSettingsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected