MCPcopy Index your code
hub / github.com/dataease/SQLBot / encodeFn

Function encodeFn

frontend/public/swagger-ui-bundle.js:41590–41590  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

41588 const u = a.style || 'form',
41589 _ = void 0 === a.explode ? 'form' === u : a.explode,
41590 w = !i && (a && a.allowReserved ? 'unsafe' : 'reserved'),
41591 encodeFn = (s) => valueEncoder(s, w),
41592 x = i ? (s) => s : (s) => encodeFn(s)
41593 return 'object' != typeof o

Callers 1

Calls 1

valueEncoderFunction · 0.85

Tested by

no test coverage detected