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

Function is_void

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

Source from the content-addressed store, hash-verified

37 * @param {string} name
38 */
39export function is_void(name) {
40 return VOID_ELEMENT_NAMES.includes(name) || name.toLowerCase() === '!doctype';
41}
42
43const RESERVED_WORDS = [
44 'arguments',

Callers 8

RegularElementFunction · 0.90
stringifyFunction · 0.90
RegularElementFunction · 0.90
RegularElementFunction · 0.90
elementFunction · 0.90
base_elementFunction · 0.90
elementFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected