MCPcopy Create free account
hub / github.com/UI5/webcomponents / isTheme

Function isTheme

packages/base/src/config/Theme.ts:77–79  ·  view source on GitHub ↗
(theme: string)

Source from the content-addressed store, hash-verified

75 * @returns {boolean}
76 */
77const isTheme = (theme: string) => {
78 return getTheme() === theme;
79};
80
81/**
82 * Returns if the currently set theme is part of legacy theme families ("sap_fiori_3").

Callers

nothing calls this directly

Calls 1

getThemeFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…