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

Function setProp

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

Source from the content-addressed store, hash-verified

3920 } catch (s) {}
3921 }
3922 function setProp(s, o) {
3923 Object.defineProperty(s, o, {
3924 get: function () {
3925 return this.get(o)
3926 },
3927 set: function (s) {
3928 ;(invariant(this.__ownerID, 'Cannot set on an immutable record.'), this.set(o, s))
3929 },
3930 })
3931 }
3932 function Set(s) {
3933 return null == s
3934 ? emptySet()

Callers

nothing calls this directly

Calls 3

invariantFunction · 0.85
getMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected