MCPcopy Create free account
hub / github.com/thinkjs/thinkjs / param

Function param

test/case/extend/controller.js:82–88  ·  view source on GitHub ↗
(name, value)

Source from the content-addressed store, hash-verified

80 },
81 expires(time) { return time },
82 param(name, value) {
83 if (value) {
84 this.params[name] = value;
85 return value;
86 }
87 return this.params[name];
88 },
89 post(name, value) { return value },
90 file(name, value) { return value },
91 cookie(name, value) { return value }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…