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

Method isDate

mini_program/common/Tools.js:124–126  ·  view source on GitHub ↗

* 判断某个元素是否为日期 * @param {Date} value * @return {Boolean}

(value)

Source from the content-addressed store, hash-verified

122 * @return {Boolean}
123 */
124 isDate(value) {
125 return this.type(value) === '[object Date]'
126 }
127
128 /**
129 * 判断某个元素是否为正则表达式

Callers 1

serializeValueMethod · 0.95

Calls 1

typeMethod · 0.95

Tested by

no test coverage detected