0.0.11 • Published 5 years ago
jycutils v0.0.11
jycutils
common utils
Example
type
type({}) // object
type('abc') // string
formatDate(date, 'yyyy-MM-dd hh:mm:ss')
formatDate(1572755606730, 'yyyy-MM-dd hh:mm:ss') // 2019-11-03 12:33:26
check.isMobile(mobile)
check.isMobile('13800138000') // true
queryString(key)
// http://www.feweb.top/detail?p=123
queryString('id') // 123