MCPcopy
hub / github.com/vuejs/core / toClassSet

Function toClassSet

packages/runtime-core/src/hydration.ts:906–908  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

904}
905
906function toClassSet(str: string): Set<string> {
907 return new Set(str.trim().split(/\s+/))
908}
909
910function isSetEqual(a: Set<string>, b: Set<string>): boolean {
911 if (a.size !== b.size) {

Callers 1

propHasMismatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected