MCPcopy Create free account
hub / github.com/breck7/scroll / w

Function w

external/.dayjs.min.js:74–87  ·  view source on GitHub ↗
(e, n, r)

Source from the content-addressed store, hash-verified

72 return t instanceof _ || !(!t || !t[p])
73 },
74 w = function t(e, n, r) {
75 var i
76 if (!e) return g
77 if ("string" == typeof e) {
78 var s = e.toLowerCase()
79 D[s] && (i = s), n && ((D[s] = n), (i = s))
80 var u = e.split("-")
81 if (!i && u.length > 1) return t(u[0])
82 } else {
83 var a = e.name
84 ;(D[a] = e), (i = a)
85 }
86 return !r && i && (g = i), i || (!r && g)
87 },
88 O = function (t, e) {
89 if (S(t)) return t.clone()
90 var n = "object" == typeof e ? e : {}

Callers 2

MFunction · 0.70
.dayjs.min.jsFile · 0.70

Calls 2

splitMethod · 0.80
tFunction · 0.70

Tested by

no test coverage detected