MCPcopy
hub / github.com/sveltejs/svelte / is_rune

Function is_rune

packages/svelte/src/utils.js:461–463  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

459 * @returns {name is RuneName}
460 */
461export function is_rune(name) {
462 return RUNES.includes(/** @type {RuneName} */ (name));
463}
464
465/** @typedef {typeof STATE_CREATION_RUNES[number]} StateCreationRuneName */
466

Callers 5

constructorMethod · 0.90
get_runeFunction · 0.90
analyze_moduleFunction · 0.90
analyze_componentFunction · 0.90
IdentifierFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected