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

Function isSetEqual

packages/runtime-core/src/hydration.ts:910–920  ·  view source on GitHub ↗
(a: Set<string>, b: Set<string>)

Source from the content-addressed store, hash-verified

908}
909
910function isSetEqual(a: Set<string>, b: Set<string>): boolean {
911 if (a.size !== b.size) {
912 return false
913 }
914 for (const s of a) {
915 if (!b.has(s)) {
916 return false
917 }
918 }
919 return true
920}
921
922function toStyleMap(str: string): Map<string, string> {
923 const styleMap: Map<string, string> = new Map()

Callers 1

propHasMismatchFunction · 0.85

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected