MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / isThemePlugin

Function isThemePlugin

src/lib/loadPlugins.js:238–243  ·  view source on GitHub ↗
(pluginId)

Source from the content-addressed store, hash-verified

236}
237
238function isThemePlugin(pluginId) {
239 // Convert to lowercase for case-insensitive matching
240 const id = pluginId.toLowerCase();
241 // Check if any theme identifier is present in the plugin ID
242 return Array.from(THEME_IDENTIFIERS).some((theme) => id.includes(theme));
243}

Callers 1

loadPluginsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected