MCPcopy
hub / github.com/thinkjs/thinkjs / isMethod

Function isMethod

lib/extend/controller.js:99–101  ·  view source on GitHub ↗

* is method * @param {String} method

(method)

Source from the content-addressed store, hash-verified

97 * @param {String} method
98 */
99 isMethod(method) {
100 return this.ctx.isMethod(method);
101 },
102 /**
103 * check if is ajax request
104 * @param {String} method

Callers

nothing calls this directly

Calls 1

isMethodMethod · 0.65

Tested by

no test coverage detected