MCPcopy Create free account
hub / github.com/circircir-circle/human_exist_device / isFormData

Method isFormData

mini_program/common/Tools.js:151–153  ·  view source on GitHub ↗

* 判断某个元素是否为FormData对象 * @param {Object} obj * @return {Boolean}

(obj)

Source from the content-addressed store, hash-verified

149 * @return {Boolean}
150 */
151 isFormData(obj) {
152 return this.type(obj) === '[object FormData]'
153 }
154
155 /**
156 * 判断某个元素是否为Blob对象

Callers

nothing calls this directly

Calls 1

typeMethod · 0.95

Tested by

no test coverage detected