MCPcopy
hub / github.com/koajs/koa / inspect

Function inspect

lib/context.js:30–33  ·  lib/context.js::inspect

* util.inspect() implementation, which * just returns the JSON output. * * @return {Object} * @api public

()

Source from the content-addressed store, hash-verified

28 */
29
30 inspect () {
31 if (this === proto) return this
32 return this.toJSON()
33 },
34
35 /**
36 * Return JSON representation.

Callers

nothing calls this directly

Calls 1

toJSONMethod · 0.80

Tested by

no test coverage detected