MCPcopy Create free account
hub / github.com/dataease/SQLBot / Gc

Function Gc

frontend/public/swagger-ui-bundle.js:40142–40155  ·  view source on GitHub ↗
(s, o, i)

Source from the content-addressed store, hash-verified

40140 if ('string' != typeof s && !(s instanceof String))
40141 throw TypeError('`'.concat(o, '` must be a string'))
40142 }
40143 const Gc = function replaceAll(s, o, i) {
40144 ;(!(function checkArguments(s, o, i) {
40145 if (null == i || null == s || null == o)
40146 throw TypeError('Input values must not be `null` or `undefined`')
40147 })(s, o, i),
40148 Kc(i, 'str'),
40149 Kc(o, 'replaceValue'),
40150 (function checkSearchValue(s) {
40151 if (!('string' == typeof s || s instanceof String || s instanceof RegExp))
40152 throw TypeError('`searchValue` must be a string or an regexp')
40153 })(s))
40154 var a = new RegExp(Fc(s) ? s : Hc(s), 'g')
40155 return Lc(a, o, i)
40156 }
40157 var Qc = $a(3, Gc),
40158 tl = Ja(2, 'replaceAll')

Callers

nothing calls this directly

Calls 4

KcFunction · 0.70
FcFunction · 0.50
HcFunction · 0.50
LcFunction · 0.50

Tested by

no test coverage detected