jslib-tools
Version:
js工具库 封装常用的工具函数 如深拷贝 时间转换日期格式化、浏览器判断等,提高开发效率
10,665 lines • 112 kB
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Global</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Global</h1>
<section>
<header>
<h2></h2>
</header>
<article>
<div class="container-overview">
<dl class="details">
</dl>
</div>
<h3 class="subsection-title">Members</h3>
<h4 class="name" id="clipboardObj"><span class="type-signature">(constant) </span>clipboardObj<span class="type-signature"></span></h4>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="dom_addEventListener.js.html">dom/addEventListener.js</a>, <a href="dom_addEventListener.js.html#line58">line 58</a>
</li></ul></dd>
</dl>
<h4 class="name" id="cookie"><span class="type-signature"></span>cookie<span class="type-signature"></span></h4>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="store_index.js.html">store/index.js</a>, <a href="store_index.js.html#line84">line 84</a>
</li></ul></dd>
</dl>
<h4 class="name" id="cursortPosition"><span class="type-signature">(constant) </span>cursortPosition<span class="type-signature"></span></h4>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="dom_addEventListener.js.html">dom/addEventListener.js</a>, <a href="dom_addEventListener.js.html#line91">line 91</a>
</li></ul></dd>
</dl>
<h4 class="name" id="debounce"><span class="type-signature">(constant) </span>debounce<span class="type-signature"></span></h4>
<div class="description">
函数防抖
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="performance_index.js.html">performance/index.js</a>, <a href="performance_index.js.html#line15">line 15</a>
</li></ul></dd>
</dl>
<h4 class="name" id="getDeviceModel"><span class="type-signature">(constant) </span>getDeviceModel<span class="type-signature"></span></h4>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="device_getDeviceModel.js.html">device/getDeviceModel.js</a>, <a href="device_getDeviceModel.js.html#line14">line 14</a>
</li></ul></dd>
</dl>
<h4 class="name" id="isDiff"><span class="type-signature">(constant) </span>isDiff<span class="type-signature"></span></h4>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="judgement_index.js.html">judgement/index.js</a>, <a href="judgement_index.js.html#line152">line 152</a>
</li></ul></dd>
</dl>
<h4 class="name" id="objTools"><span class="type-signature">(constant) </span>objTools<span class="type-signature"></span></h4>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="obj_index.js.html">obj/index.js</a>, <a href="obj_index.js.html#line284">line 284</a>
</li></ul></dd>
</dl>
<h4 class="name" id="sleepAction"><span class="type-signature">(constant) </span>sleepAction<span class="type-signature"></span></h4>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="performance_index.js.html">performance/index.js</a>, <a href="performance_index.js.html#line79">line 79</a>
</li></ul></dd>
</dl>
<h4 class="name" id="throttle"><span class="type-signature">(constant) </span>throttle<span class="type-signature"></span></h4>
<div class="description">
函数节流
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="performance_index.js.html">performance/index.js</a>, <a href="performance_index.js.html#line43">line 43</a>
</li></ul></dd>
</dl>
<h3 class="subsection-title">Methods</h3>
<h4 class="name" id="alias"><span class="type-signature"></span>alias<span class="signature">(obj, name, aliasName)</span><span class="type-signature"></span></h4>
<div class="description">
给原型方法或属性添加别名 eg:alias(Array,"forEach","each");
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>obj</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last">对象</td>
</tr>
<tr>
<td class="name"><code>name</code></td>
<td class="type">
<span class="param-type">string</span>
|
<span class="param-type">object</span>
</td>
<td class="description last">属性名称或对象 eg: 'forEach' | {forEach:'each'}</td>
</tr>
<tr>
<td class="name"><code>aliasName</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">别名</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="obj_index.js.html">obj/index.js</a>, <a href="obj_index.js.html#line72">line 72</a>
</li></ul></dd>
</dl>
<h4 class="name" id="arrayMove"><span class="type-signature"></span>arrayMove<span class="signature">(array, from, to)</span><span class="type-signature"> → {*}</span></h4>
<div class="description">
数组位移
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>array</code></td>
<td class="type">
<span class="param-type">array</span>
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>from</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>to</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="obj_array_array.js.html">obj/array/array.js</a>, <a href="obj_array_array.js.html#line70">line 70</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">*</span>
</dd>
</dl>
<h5>Example</h5>
<pre class="prettyprint"><code>```
const { arrayMove } = require('@alrale/common-lib');
const input = ['a', 'b', 'c'];
const array1 = arrayMove(input, 1, 2);
console.log(array1);
//=> ['a', 'c', 'b']
const array2 = arrayMove(input, -1, 0);
console.log(array2);
//=> ['c', 'a', 'b']
const array3 = arrayMove(input, -2, -3);
console.log(array3);
//=> ['b', 'a', 'c']
```</code></pre>
<h4 class="name" id="arrayMoveMutate"><span class="type-signature"></span>arrayMoveMutate<span class="signature">(array, from, to)</span><span class="type-signature"></span></h4>
<div class="description">
引用数组位移,性能优化
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>array</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>from</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>to</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="obj_array_array.js.html">obj/array/array.js</a>, <a href="obj_array_array.js.html#line34">line 34</a>
</li></ul></dd>
</dl>
<h4 class="name" id="arrayToObject"><span class="type-signature"></span>arrayToObject<span class="signature">(key, arr)</span><span class="type-signature"> → {object}</span></h4>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>key</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>arr</code></td>
<td class="type">
<span class="param-type">any</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="obj_array_array.js.html">obj/array/array.js</a>, <a href="obj_array_array.js.html#line18">line 18</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">object</span>
</dd>
</dl>
<h4 class="name" id="arrayToTree"><span class="type-signature"></span>arrayToTree<span class="signature">()</span><span class="type-signature"></span></h4>
<div class="description">
转换方法
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="transfer_array.js.html">transfer/array.js</a>, <a href="transfer_array.js.html#line86">line 86</a>
</li></ul></dd>
</dl>
<h4 class="name" id="arrFibonacci"><span class="type-signature"></span>arrFibonacci<span class="signature">(length, value, step)</span><span class="type-signature"></span></h4>
<div class="description">
按条件产生数组 arr(5,2,2) => [2,4,6,8,10]
eg:按1-10项产生斐波那契数列 =>arr(10, function (value, i, list) { return i > 1 ? list[i - 1] + list[i - 2] : 1; })
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>length</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last">要产生的数组长度</td>
</tr>
<tr>
<td class="name"><code>value</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last">数组项的初始值</td>
</tr>
<tr>
<td class="name"><code>step</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last">递增值或处理函数(当前值,索引,当前产生的数组)</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="obj_array_array.js.html">obj/array/array.js</a>, <a href="obj_array_array.js.html#line84">line 84</a>
</li></ul></dd>
</dl>
<h4 class="name" id="arrVals"><span class="type-signature"></span>arrVals<span class="signature">(list, prop, skipUndefined)</span><span class="type-signature"></span></h4>
<div class="description">
根据指定的键或索引抽取数组项的值
eg:vals([{id:1},{id:2}], "id") => [1,2]
eg:vals([[1,"a"],[2,"b"]], 1) => ["a","b"]
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>list</code></td>
<td class="type">
<span class="param-type">array</span>
</td>
<td class="description last">对象数组</td>
</tr>
<tr>
<td class="name"><code>prop</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">要抽取的属性</td>
</tr>
<tr>
<td class="name"><code>skipUndefined</code></td>
<td class="type">
<span class="param-type">boolean</span>
</td>
<td class="description last">是否跳过值不存在的项,默认为true</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="obj_array_array.js.html">obj/array/array.js</a>, <a href="obj_array_array.js.html#line119">line 119</a>
</li></ul></dd>
</dl>
<h4 class="name" id="callHandler"><span class="type-signature"></span>callHandler<span class="signature">(callHandlerData, name, data)</span><span class="type-signature"> → {*}</span></h4>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>callHandlerData</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>name</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last">n请求的方法</td>
</tr>
<tr>
<td class="name"><code>data</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last">请求时传的参数</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="plugins_jsBridge_index.js.html">plugins/jsBridge/index.js</a>, <a href="plugins_jsBridge_index.js.html#line47">line 47</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
function
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">*</span>
</dd>
</dl>
<h4 class="name" id="camelize"><span class="type-signature"></span>camelize<span class="signature">(str)</span><span class="type-signature"> → {string}</span></h4>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>str</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="transfer_regex.js.html">transfer/regex.js</a>, <a href="transfer_regex.js.html#line40">line 40</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">string</span>
</dd>
</dl>
<h4 class="name" id="checkInt"><span class="type-signature"></span>checkInt<span class="signature">(str, min, max)</span><span class="type-signature"></span></h4>
<div class="description">
判断是否是符合条件的整数
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>str</code></td>
<td class="type">
<span class="param-type">string</span>
|
<span class="param-type">number</span>
</td>
<td class="description last">要检测的字符串或数字</td>
</tr>
<tr>
<td class="name"><code>min</code></td>
<td class="type">
<span class="param-type">number</span>
|
<span class="param-type">undefined</span>
</td>
<td class="description last">允许的最小值</td>
</tr>
<tr>
<td class="name"><code>max</code></td>
<td class="type">
<span class="param-type">number</span>
|
<span class="param-type">undefined</span>
</td>
<td class="description last">允许的最大值</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="judgement_index.js.html">judgement/index.js</a>, <a href="judgement_index.js.html#line246">line 246</a>
</li></ul></dd>
</dl>
<h4 class="name" id="checkNum"><span class="type-signature"></span>checkNum<span class="signature">(str, min, max, max_decimal_len)</span><span class="type-signature"></span></h4>
<div class="description">
判断是否是符合条件的数字
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>str</code></td>
<td class="type">
<span class="param-type">string</span>
|
<span class="param-type">number</span>
</td>
<td class="description last">要检测的字符串或数字</td>
</tr>
<tr>
<td class="name"><code>min</code></td>
<td class="type">
<span class="param-type">number</span>
|
<span class="param-type">undefined</span>
</td>
<td class="description last">允许的最小值</td>
</tr>
<tr>
<td class="name"><code>max</code></td>
<td class="type">
<span class="param-type">number</span>
|
<span class="param-type">undefined</span>
</td>
<td class="description last">允许的最大值</td>
</tr>
<tr>
<td class="name"><code>max_decimal_len</code></td>
<td class="type">
<span class="param-type">number</span>
|
<span class="param-type">undefined</span>
</td>
<td class="description last">最大小数位数</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="judgement_index.js.html">judgement/index.js</a>, <a href="judgement_index.js.html#line231">line 231</a>
</li></ul></dd>
</dl>
<h4 class="name" id="compareSize"><span class="type-signature"></span>compareSize<span class="signature">()</span><span class="type-signature"></span></h4>
<div class="description">
比较大小
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="judgement_index.js.html">judgement/index.js</a>, <a href="judgement_index.js.html#line289">line 289</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
-1 0 1
</div>
<h4 class="name" id="dasherize"><span class="type-signature"></span>dasherize<span class="signature">(str)</span><span class="type-signature"> → {string}</span></h4>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>str</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="transfer_regex.js.html">transfer/regex.js</a>, <a href="transfer_regex.js.html#line55">line 55</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">string</span>
</dd>
</dl>
<h4 class="name" id="dateFormat1"><span class="type-signature"></span>dateFormat1<span class="signature">(value)</span><span class="type-signature"> → {*}</span></h4>
<div class="description">
日期格式化
时间规则:
今天显示:xx:xx
昨天显示:昨天 xx:xx
一周内显示:星期x xx:xx
一年内显示:xx月xx日 xx:xx
更早日期显示:xx年xx月xx日 xx:xx
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>value</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last">时间戳,单位s</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="dateFormat_dateFormat1.js.html">dateFormat/dateFormat1.js</a>, <a href="dateFormat_dateFormat1.js.html#line20">line 20</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
格式化后的日期
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">*</span>
</dd>
</dl>
<h4 class="name" id="dateFormat2"><span class="type-signature"></span>dateFormat2<span class="signature">(dateTimeStamp)</span><span class="type-signature"> → {*}</span></h4>
<div class="description">
日期格式化
时间规则:
小于一分钟显示:刚刚
1分钟-60分钟内显示:xx分钟前
大于60分钟显示:xx小时前
昨天显示:昨天 xx:xx
更早日期显示:xx-xx-xx xx:xx
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>dateTimeStamp</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last">时间戳,单位s</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="dateFormat_dateFormat2.js.html">dateFormat/dateFormat2.js</a>, <a href="dateFormat_dateFormat2.js.html#line20">line 20</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
格式化后的日期
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">*</span>
</dd>
</dl>
<h4 class="name" id="decode_url_param"><span class="type-signature"></span>decode_url_param<span class="signature">(param)</span><span class="type-signature"></span></h4>
<div class="description">
解码url参数值 eg:%E6%B5%8B%E8%AF%95 => 测试
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>param</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">要解码的字符串 eg:%E6%B5%8B%E8%AF%95</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="transfer_jsonString.js.html">transfer/jsonString.js</a>, <a href="transfer_jsonString.js.html#line18">line 18</a>
</li></ul></dd>
</dl>
<h4 class="name" id="def"><span class="type-signature"></span>def<span class="signature">(value, defValue)</span><span class="type-signature"> → {*}</span></h4>
<div class="description">
若value不为undefine,则返回value;否则返回defValue
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>value</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>defValue</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last">value不存在时返回的值</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="judgement_index.js.html">judgement/index.js</a>, <a href="judgement_index.js.html#line143">line 143</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">*</span>
</dd>
</dl>
<h4 class="name" id="elDateFormat"><span class="type-signature"></span>elDateFormat<span class="signature">(time, type)</span><span class="type-signature"> → {number|string|null}</span></h4>
<div class="description">
获取饿了么框架时间选择器时间戳
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>time</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last">时间</td>
</tr>
<tr>
<td class="name"><code>type</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last">类型 默认值 0 0 开始时间 1 结束时间</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="dateFormat_elDateFormat.js.html">dateFormat/elDateFormat.js</a>, <a href="dateFormat_elDateFormat.js.html#line15">line 15</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
时间戳
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">number</span>
|
<span class="param-type">string</span>
|
<span class="param-type">null</span>
</dd>
</dl>
<h4 class="name" id="escapeHTML"><span class="type-signature"></span>escapeHTML<span class="signature">(str)</span><span class="type-signature"> → {string}</span></h4>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>str</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="transfer_regex.js.html">transfer/regex.js</a>, <a href="transfer_regex.js.html#line68">line 68</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">string</span>
</dd>
</dl>
<h4 class="name" id="exportXls"><span class="type-signature"></span>exportXls<span class="signature">(data, name, callBack)</span><span class="type-signature"></span></h4>
<div class="description">
删除对象里面value值为null的键值对
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>data</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last">接口返回的blob数据</td>
</tr>
<tr>
<td class="name"><code>name</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last">excel名称</td>
</tr>
<tr>
<td class="name"><code>callBack</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last">导出成功/失败回调 回调返回{type:fail/success} fail情况下 返回{ type: "fail", code, msg }</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="export_exportXls.js.html">export/exportXls.js</a>, <a href="export_exportXls.js.html#line15">line 15</a>
</li></ul></dd>
</dl>
<h4 class="name" id="extend"><span class="type-signature"></span>extend<span class="signature">(target, source, forced)</span><span class="type-signature"></span></h4>
<div class="description">
将源对象(source)的所有可枚举且目标对象(target)不存在的属性, 复制到目标对象
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>target</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last">目标对象</td>
</tr>
<tr>
<td class="name"><code>source</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last">源对象</td>
</tr>
<tr>
<td class="name"><code>forced</code></td>
<td class="type">
<span class="param-type">boolean</span>
</td>
<td class="description last">是否强制复制, 为true时将会覆盖目标对象同名属性, 默认为false</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="obj_index.js.html">obj/index.js</a>, <a href="obj_index.js.html#line94">line 94</a>
</li></ul></dd>
</dl>
<h4 class="name" id="getBrowserModel"><span class="type-signature"></span>getBrowserModel<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
<div class="description">
获取浏览器类型和版本
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="device_getBrowserModel.js.html">device/getBrowserModel.js</a>, <a href="device_getBrowserModel.js.html#line7">line 7</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">string</span>
</dd>
</dl>
<h5>Example</h5>
<pre class="prettyprint"><code>getBrowserModel() => "Chrome:70.0.3538.102"</code></pre>
<h4 class="name" id="getChangedData"><span class="type-signature"></span>getChangedData<span class="signature">(target, source, skipProps, skipPrefix)</span><span class="type-signature"></span></h4>
<div class="description">
将目标对象中和源对象值不同的数据作为键值对返回
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>target</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last">目标对象</td>
</tr>
<tr>
<td class="name"><code>source</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last">源对象</td>
</tr>
<tr>
<td class="name"><code>skipProps</code></td>
<td class="type">
<span class="param-type">Array.<string></span>
</td>
<td class="description last">要忽略比较的属性数组</td>
</tr>
<tr>
<td class="name"><code>skipPrefix</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">要忽略的属性前缀</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="obj_index.js.html">obj/index.js</a>, <a href="obj_index.js.html#line173">line 173</a>
</li></ul></dd>
</dl>
<h4 class="name" id="getChildren"><span class="type-signature"></span>getChildren<span class="signature">(data, result, pid)</span><span class="type-signature"> → {array}</span></h4>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>data</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last">要处理对象</td>
</tr>
<tr>
<td class="name"><code>result</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last">返回数组</td>
</tr>
<tr>
<td class="name"><code>pid</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last">父id</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="transfer_array.js.html">transfer/array.js</a>, <a href="transfer_array.js.html#line73">line 73</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">array</span>
</dd>
</dl>
<h4 class="name" id="getCookie"><span class="type-signature"></span>getCookie<span class="signature">(key)</span><span class="type-signature"> → {*}</span></h4>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>key</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="store_index.js.html">store/index.js</a>, <a href="store_index.js.html#line25">line 25</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">*</span>
</dd>
</dl>
<h4 class="name" id="getDefaultAvatar"><span class="type-signature"></span>getDefaultAvatar<span class="signature">(userId)</span><span class="type-signature"></span></h4>
<div class="description">
获取默认头像
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>userId</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="oss_getDefaultAvatar.js.html">oss/getDefaultAvatar.js</a>, <a href="oss_getDefaultAvatar.js.html#line13">line 13</a>
</li></ul></dd>
</dl>
<h4 class="name" id="getHttpBase64"><span class="type-signature"></span>getHttpBase64<span class="signature">(url)</span><span class="type-signature"> → {Promise}</span></h4>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>url</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">图片url</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="canvas_getBase64.js.html">canvas/getBase64.js</a>, <a href="canvas_getBase64.js.html#line38">line 38</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
图片base64信息
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Promise</span>
</dd>
</dl>
<h4 class="name" id="getImgBase64"><span class="type-signature"></span>getImgBase64<span class="signature">(url)</span><span class="type-signature"> → {Promise}</span></h4>
<div class="description">
获取图片的base64 url
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>url</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">图片url</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="canvas_getBase64.js.html">canvas/getBase64.js</a>, <a href="canvas_getBase64.js.html#line6">line 6</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
图片base64信息
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Promise</span>
</dd>
</dl>
<h4 class="name" id="getThumbnails"><span class="type-signature"></span>getThumbnails<span class="signature">(opts)</span><span class="type-signature"> → {string}</span></h4>
<div class="description">
图像处理获取缩略图
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>opts</code></td>
<td class="type">
<span class="param-type">Object</span>
</td>
<td class="description last">参数对象
<h6>Properties</h6>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>src</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">处理源路径</td>
</tr>
<tr>
<td class="name"><code>type</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">处理类型 2:图片 4:视频</td>
</tr>
<tr>
<td class="name"><code>payload</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">负载参数: https://help.aliyun.com/document_detail/44688.html?spm=a2c4g.11186623.6.1148.4d7d176cZS0ozx</td>
</tr>
<tr>
<td class="name"><code>ifSelf</code></td>
<td class="type">
<span class="param-type">boolean</span>
</td>
<td class="description last">返回源路径</td>
</tr>
<tr>
<td class="name"><code>ossdomain</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">图片对应的oss域名</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="oss_getThumbnails.js.html">oss/getThumbnails.js</a>, <a href="oss_getThumbnails.js.html#line20">line 20</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
处理后的图片路径
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">string</span>
</dd>
</dl>
<h4 class="name" id="getType"><span class="type-signature"></span>getType<span class="signature">(obj)</span><span class="type-signature"> → {string}</span></h4>
<div class="description">
获取数据类型(小写) undefined|null|string|number|array|function|date|regexp|window|node|list
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>obj</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last">要检测的数据</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="judgement_index.js.html">judgement/index.js</a>, <a href="judgement_index.js.html#line40">line 40</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">string</span>
</dd>
</dl>
<h4 class="name" id="handleEmoji"><span class="type-signature"></span>handleEmoji<span class="signature">(str, type)</span><span class="type-signature"> → {string}</span></h4>
<div class="description">
处理emoji,用于把用utf16编码的字符转换成实体字符
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>str</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">需要编译/解析的字符串</td>
</tr>
<tr>
<td class="name"><code>type</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">encode 编译 decode 转义</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="transfer_handleEmoji.js.html">transfer/handleEmoji.js</a>, <a href="transfer_handleEmoji.js.html#line23">line 23</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
编译/解析后的字符串
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">string</span>
</dd>
</dl>
<h5>Example</h5>
<pre class="prettyprint"><code>handleEmoji("😃", "encode") => "&#128515;"
handleEmoji("&#128522;", "decode") => "😊"</code></pre>
<h4 class="name" id="handleParam"><span class="type-signature"></span>handleParam<span class="signature">(obj)</span><span class="type-signature"> → {object}</span></h4>
<div class="description">
删除对象里面value值为null的键值对
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>obj</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last">需要处理的参数</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="transfer_handleParam.js.html">transfer/handleParam.js</a>, <a href="transfer_handleParam.js.html#line14">line 14</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
返回结果
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">object</span>
</dd>
</dl>
<h4 class="name" id="handleText"><span class="type-signature"></span>handleText<span class="signature">(str, type)</span><span class="type-signature"> → {string}</span></h4>
<div class="description">
处理文本,客户端无法识别h5的br标签和空格符,因此需要处理br标签为\n和空格符为 ''
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>str</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">需要编译/转义的字符串</td>
</tr>
<tr>
<td class="name"><code>type</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">encode 编译 decode 转义</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="transfer_handleText.js.html">transfer/handleText.js</a>, <a href="transfer_handleText.js.html#line22">line 22</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
编译/转义后的字符串
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">string</span>
</dd>
</dl>
<h5>Example</h5>
<pre class="prettyprint"><code>handleText("<br>&nbsp;&lt;&gt;", "encode") => "\n <>"
handleText("\n <>", "decode") => "<br>&nbsp;&lt;&gt;"</code></pre>
<h4 class="name" id="isArray"><span class="type-signature"></span>isArray<span class="signature">(obj)</span><span class="type-signature"> → {boolean}</span></h4>
<div class="description">
检测是否为数组
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>obj</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last">要检测的数据</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="judgement_index.js.html">judgement/index.js</a>, <a href="judgement_index.js.html#line122">line 122</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">boolean</span>
</dd>
</dl>
<h4 class="name" id="isArray"><span class="type-signature"></span>isArray<span class="signature">(obj)</span><span class="type-signature"></span></h4>
<div class="description">
检测是否为数组
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>obj</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last">要检测的数据</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="obj_index.js.html">obj/index.js</a>, <a href="obj_index.js.html#line29">line 29</a>
</li></ul></dd>
</dl>
<h4 class="name" id="isArrayLike"><span class="type-signature"></span>isArrayLike<span class="signature">(obj)</span><span class="type-signature"> → {boolean}</span></h4>
<div class="description">
检测是否为数组或类数组
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>obj</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last">要检测的数据</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="judgement_index.js.html">judgement/index.js</a>, <a href="judgement_index.js.html#line131">line 131</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">boolean</span>
</dd>
</dl>
<h4 class="name" id="isFunc"><span class="type-signature"></span>isFunc<span class="signature">(fn)</span><span class="type-signature"> → {boolean}</span></h4>
<div class="description">
检测是否为函数
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>fn</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last">要检测的数据</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="judgement_index.js.html">judgement/index.js</a>, <a href="judgement_index.js.html#line98">line 98</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">boolean</span>
</dd>
</dl>
<h4 class="name" id="isInt"><span class="type-signature"></span>isInt<span class="signature">(n, min, max)</span><span class="type-signature"></span></h4>
<div class="description">
检测是否为整数(n必须为数字类型)
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>n</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last">数字</td>
</tr>
<tr>
<td class="name"><code>min</code></td>
<td class="type">
<span class="param-type">number</span>
|
<span class="param-type">undefined</span>
</td>
<td class="description last">允许的最小值</td>
</tr>
<tr>
<td class="name"><code>max</code></td>
<td class="type">
<span class="param-type">number</span>
|
<span class="param-type">undefined</span>
</td>
<td class="description last">允许的最大值</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="judgement_index.js.html">judgement/index.js</a>, <a href="judgement_index.js.html#line212">line 212</a>
</li></ul></dd>
</dl>
<h4 class="name" id="isNum"><span class="type-signature"></span>isNum<span class="signature">(n, min, max, max_decimal_len)</span><span class="type-signature"></span></h4>
<div class="description">
检测是否是符合条件的数字(n必须为数字类型)
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>n</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last">数字</td>
</tr>
<tr>
<td class="name"><code>min</code></td>
<td class="type">
<span class="param-type">number</span>
|
<span class="param-type">undefined</span>
</td>
<td class="description last">允许的最小值</td>
</tr>
<tr>
<td class="name"><code>max</code></td>
<td class="type">
<span class="param-type">number</span>
|
<span class="param-type">undefined</span>
</td>
<td class="description last">允许的最大值</td>
</tr>
<tr>
<td class="name"><code>max_decimal_len</code></td>
<td class="type">
<span class="param-type">number</span>
|
<span class="param-type">undefined</span>
</td>
<td class="description last">最大小数位数</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="judgement_index.js.html">judgement/index.js</a>, <a href="judgement_index.js.html#line184">line 184</a>
</li></ul></dd>
</dl>
<h4 class="name" id="isObject"><span class="type-signature"></span>isObject<span class="signature">(obj)</span><span class="type-signature"> → {boolean}</span></h4>
<div class="description">
检测是否为对象
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>obj</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last">要检测的数据</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="judgement_index.js.html">judgement/index.js</a>, <a href="judgement_index.js.html#line110">line 110</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">boolean</span>
</dd>
</dl>
<h4 class="name" id="isObject"><span class="type-signature"></span>isObject<span class="signature">(obj)</span><span class="type-signature"></span></h4>
<div class="description">
检测是否为对象
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>obj</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last">要检测的数据</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="obj_index.js.html">obj/index.js</a>, <a href="obj_index.js.html#line18">line 18</a>
</li></ul></dd>
</dl>
<h4 class="name" id="isObjEmpty"><span class="type-signature"></span>isObjEmpty<span class="signature">(target)</span><span class="type-signature"></span></h4>
<div class="description">
判断Object array是否是空对象
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>target</code></td>
<td class="type">
<span class="param-type">any</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="judgement_index.js.html">judgement/index.js</a>, <a href="judgement_index.js.html#line280">line 280</a>
</li></ul></dd>
</dl>
<h4 class="name" id="isUInt"><span class="type-signature"></span>isUInt<span class="signature">(n)</span><span class="type-signature"></span></h4>
<div class="description">
检测是否为大于0的整数
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>n</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last">数字</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="judgement_index.js.html">judgement/index.js</a>, <a href="judgement_index.js.html#line220">line 220</a>
</li></ul></dd>
</dl>
<h4 class="name" id="isUNum"><span class="type-signature"></span>isUNum<span class="signature">(n)</span><span class="type-signature"></span></h4>
<div class="description">
检测是否为大于0的数字(n必须为数字类型)
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>n</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last">数字</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="judgement_index.js.html">judgement/index.js</a>, <a href="judgement_index.js.html#line202">line 202</a>
</li></ul></dd>
</dl>
<h4 class="name" id="makeArray"><span class="type-signature"></span>makeArray<span class="signature">(obj, from)</span><span class="type-signature"></span></h4>
<div class="description">
将类数组对象转为数组,若对象不存在,则返回空数组
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>obj</code></td>
<td class="type">
<span class="param-type">Array</span>
|
<span class="param-type">arguments</span>
|
<span class="param-type">NodeList</span>
</td>
<td class="description last">数组或类数组</td>
</tr>
<tr>
<td class="name"><code>from</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last">开始索引,默认为0</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="transfer_array.js.html">transfer/array.js</a>, <a href="transfer_array.js.html#line47">line 47</a>
</li></ul></dd>
</dl>
<h4 class="name" id="objectConversionToList"><span class="type-signature"></span>objectConversionToList<span class="signature">(target, formattedObject, options)</span><span class="type-signature"></span></h4>
<div class="description">
目标和对象组合转换成数组 target{name:'1',age:'58'} formattedObject{name:'你好',age:'年龄'} => [{label:'你好':,value:'1'},{label:'年龄':,value:'58'}]
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>target</code></td>
<td class="type">
</td>
<td class="description last">目标对象</td>
</tr>
<tr>
<td class="name"><code>formattedObject</code></td>
<td class="type">
</td>
<td class="description last">格式化对象</td>
</tr>
<tr>
<td class="name"><code>options</code></td>
<td class="type">
</td>
<td class="description last">K/V</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="obj_index.js.html">obj/index.js</a>, <a href="obj_index.js.html#line196">line 196</a>
</li></ul></dd>
</dl>
<h4 class="name" id="objectToArray"><span class="type-signature"></span>objectToArray<span class="signature">(target)</span><span class="type-signature"></span></h4>
<div class="description">
对象to 对象数组
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>target</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="obj_index.js.html">obj/index.js</a>, <a href="obj_index.js.html#line261">line 261</a>
</li></ul></dd>
</dl>
<h4 class="name" id="parseTime"><span class="type-signature"></span>parseTime<span class="signature">(time, cFormat)</span><span class="type-signature"> → {*}</span></h4>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>time</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last">時間戳</td>
</tr>
<tr>
<td class="name"><code>cFormat</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last">轉換後的格式</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="dateFormat_parseTime.js.html">dateFormat/parseTime.js</a>, <a href="dateFormat_parseTime.js.html#line15">line 15</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
格式化后的時間
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">*</span>
</dd>
</dl>
<h4 class="name" id="setVideoPlay"><span class="type-signature"></span>setVideoPlay<span class="signature">(id)</span><span class="type-signature"> → {*}</span></h4>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>id</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last">video的dom的id</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="dom_videoPlay.js.html">dom/videoPlay.js</a>, <a href="dom_videoPlay.js.html#line22">line 22</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">*</span>
</dd>
</dl>
<h4 class="name" id="sleepSync"><span class="type-signature"></span>sleepSync<span class="signature">(ms)</span><span class="type-signature"> → {Promise.<void>}</span></h4>
<div class="description">
睡眠
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>ms</code></td>
<td class="type">
<span class="param-type">number</span>
|
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="performance_index.js.html">performance/index.js</a>, <a href="performance_index.js.html#line91">line 91</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Promise.<void></span>
</dd>
</dl>
<h4 class="name" id="sortMapByKey"><span class="type-signature"></span>sortMapByKey<span class="signature">(map, isKeyUpSort)</span><span class="type-signature"></span></h4>
<div class="description">
根据对象key排序
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>map</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last">排序对象</td>
</tr>
<tr>
<td class="name"><code>isKeyUpSort</code></td>
<td class="type">
<span class="param-type">boolean</span>
</td>
<td class="description last">排序方式 默认顺序</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="obj_index.js.html">obj/index.js</a>, <a href="obj_index.js.html#line223">line 223</a>
</li></ul></dd>
</dl>
<h4 class="name" id="storage"><span class="type-signature"></span>storage<span class="signature">(type, useCookie)</span><span class="type-signature"> → {object}</span></h4>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>type</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last">type:localStorage | sessionStorage</td>
</tr>
<tr>
<td class="name"><code>useCookie</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last">是否用cookie 模拟store</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="store_index.js.html">store/index.js</a>, <a href="store_index.js.html#line100">line 100</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">object</span>
</dd>
</dl>
<h4 class="name" id="titleize"><span class="type-signature"></span>titleize<span class="signature">(str)</span><span class="type-signature"> → {string}</span></h4>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>str</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="transfer_regex.js.html">transfer/regex.js</a>, <a href="transfer_regex.js.html#line26">line 26</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">string</span>
</dd>
</dl>
<h4 class="name" id="toArray"><span class="type-signature"></span>toArray<span class="signature">(obj, from)</span><span class="type-signature"></span></h4>
<div class="description">
转为数组
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>obj</code></td>
<td class="type">
<span class="param-type">Array</span>
|
<span class="param-type">NodeList</span>
</td>
<td class="description last">数组或类数组</td>
</tr>
<tr>
<td class="name"><code>from</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last">开始索引,默认为0</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="transfer_array.js.html">transfer/array.js</a>, <a href="transfer_array.js.html#line19">line 19</a>
</li></ul></dd>
</dl>
<h4 class="name" id="toLower"><span class="type-signature"></span>toLower<span class="signature">(str, defValue)</span><span class="type-signature"></span></h4>
<div class="description">
将字符串转为小写,若str不是字符串,则返回defValue
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>str</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">字符串</td>
</tr>
<tr>
<td class="name"><code>defValue</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">str不是字符串时返回的值</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="transfer_a2A.js.html">transfer/a2A.js</a>, <a href="transfer_a2A.js.html#line24">line 24</a>
</li></ul></dd>
</dl>
<h4 class="name" id="toMap"><span class="type-signature"></span>toMap<span class="signature">(list, fv, ignoreCase)</span><span class="type-signature"></span></h4>
<div class="description">
将数组或类数组转换为键值对 eg: ['a','b'] => {a:0,b:1}
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>list</code></td>
<td class="type">
<span class="param-type">Array</span>
</td>
<td class="description last">要转换的数组</td>
</tr>
<tr>
<td class="name"><code>fv</code></td>
<td class="type">
<span class="param-type">object</span>
|
<span class="param-type">function</span>
</td>
<td class="description last">默认值或处理函数(value,i) => [key,value]</td>
</tr>
<tr>
<td class="name"><code>ignoreCase</code></td>
<td class="type">
<span class="param-type">boolean</span>
</td>
<td class="description last">是否忽略大小写, 为true时将统一使用小写, 默认为false</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="obj_index.js.html">obj/index.js</a>, <a href="obj_index.js.html#line111">line 111</a>
</li></ul></dd>
</dl>
<h4 class="name" id="toObjectMap"><span class="type-signature"></span>toObjectMap<span class="signature">(list, propKey, propValue)</span><span class="type-signature"></span></h4>
<div class="description">
将对象数组转换为键值对 eg: [{name:'a',value:1},{name:'b',value:2}] => {a:1,b:2}
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>list</code></td>
<td class="type">
<span class="param-type">array</span>
</td>
<td class="description last">要转换的对象数组</td>
</tr>
<tr>
<td class="name"><code>propKey</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">对象中作为键的属性 eg: name</td>
</tr>
<tr>
<td class="name"><code>propValue</code></td>
<td class="type">
<span class="param-type">string</span>
|
<span class="param-type">boolean</span>
</td>
<td class="description last">对象中作为值的属性, 为true时将给对象增加index属性, 为空时将整个对象作为值</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="obj_index.js.html">obj/index.js</a>, <a href="obj_index.js.html#line144">line 144</a>
</li></ul></dd>
</dl>
<h4 class="name" id="toSimplifiedChinese"><span class="type-signature"></span>toSimplifiedChinese<span class="signature">(num)</span><span class="type-signature"> → {string}</span></h4>
<div class="description">
阿拉伯数字转换为简写汉字
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>num</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="transfer_string.js.html">transfer/string.js</a>, <a href="transfer_string.js.html#line18">line 18</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">string</span>
</dd>
</dl>
<h4 class="name" id="toUpper"><span class="type-signature"></span>toUpper<span class="signature">(str, defValue)</span><span class="type-signature"></span></h4>
<div class="description">
将字符串转为大写,若str不是字符串,则返回defValue
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>str</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">字符串</td>
</tr>
<tr>
<td class="name"><code>defValue</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">str不是字符串时返回的值</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="transfer_a2A.js.html">transfer/a2A.js</a>, <a href="transfer_a2A.js.html#line15">line 15</a>
</li></ul></dd>
</dl>
<h4 class="name" id="unescapeHTML"><span class="type-signature"></span>unescapeHTML<span class="signature">(str)</span><span class="type-signature"> → {string}</span></h4>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>str</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="transfer_regex.js.html">transfer/regex.js</a>, <a href="transfer_regex.js.html#line91">line 91</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">string</span>
</dd>
</dl>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.html#alias">alias</a></li><li><a href="global.html#arrayMove">arrayMove</a></li><li><a href="global.html#arrayMoveMutate">arrayMoveMutate</a></li><li><a href="global.html#arrayToObject">arrayToObject</a></li><li><a href="global.html#arrayToTree">arrayToTree</a></li><li><a href="global.html#arrFibonacci">arrFibonacci</a></li><li><a href="global.html#arrVals">arrVals</a></li><li><a href="global.html#callHandler">callHandler</a></li><li><a href="global.html#camelize">camelize</a></li><li><a href="global.html#checkInt">checkInt</a></li><li><a href="global.html#checkNum">checkNum</a></li><li><a href="global.html#clipboardObj">clipboardObj</a></li><li><a href="global.html#compareSize">compareSize</a></li><li><a href="global.html#cookie">cookie</a></li><li><a href="global.html#cursortPosition">cursortPosition</a></li><li><a href="global.html#dasherize">dasherize</a></li><li><a href="global.html#dateFormat1">dateFormat1</a></li><li><a href="global.html#dateFormat2">dateFormat2</a></li><li><a href="global.html#debounce">debounce</a></li><li><a href="global.html#decode_url_param">decode_url_param</a></li><li><a href="global.html#def">def</a></li><li><a href="global.html#elDateFormat">elDateFormat</a></li><li><a href="global.html#escapeHTML">escapeHTML</a></li><li><a href="global.html#exportXls">exportXls</a></li><li><a href="global.html#extend">extend</a></li><li><a href="global.html#getBrowserModel">getBrowserModel</a></li><li><a href="global.html#getChangedData">getChangedData</a></li><li><a href="global.html#getChildren">getChildren</a></li><li><a href="global.html#getCookie">getCookie</a></li><li><a href="global.html#getDefaultAvatar">getDefaultAvatar</a></li><li><a href="global.html#getDeviceModel">getDeviceModel</a></li><li><a href="global.html#getHttpBase64">getHttpBase64</a></li><li><a href="global.html#getImgBase64">getImgBase64</a></li><li><a href="global.html#getThumbnails">getThumbnails</a></li><li><a href="global.html#getType">getType</a></li><li><a href="global.html#handleEmoji">handleEmoji</a></li><li><a href="global.html#handleParam">handleParam</a></li><li><a href="global.html#handleText">handleText</a></li><li><a href="global.html#isArray">isArray</a></li><li><a href="global.html#isArrayLike">isArrayLike</a></li><li><a href="global.html#isDiff">isDiff</a></li><li><a href="global.html#isFunc">isFunc</a></li><li><a href="global.html#isInt">isInt</a></li><li><a href="global.html#isNum">isNum</a></li><li><a href="global.html#isObject">isObject</a></li><li><a href="global.html#isObjEmpty">isObjEmpty</a></li><li><a href="global.html#isUInt">isUInt</a></li><li><a href="global.html#isUNum">isUNum</a></li><li><a href="global.html#makeArray">makeArray</a></li><li><a href="global.html#objectConversionToList">objectConversionToList</a></li><li><a href="global.html#objectToArray">objectToArray</a></li><li><a href="global.html#objTools">objTools</a></li><li><a href="global.html#parseTime">parseTime</a></li><li><a href="global.html#setVideoPlay">setVideoPlay</a></li><li><a href="global.html#sleepAction">sleepAction</a></li><li><a href="global.html#sleepSync">sleepSync</a></li><li><a href="global.html#sortMapByKey">sortMapByKey</a></li><li><a href="global.html#storage">storage</a></li><li><a href="global.html#throttle">throttle</a></li><li><a href="global.html#titleize">titleize</a></li><li><a href="global.html#toArray">toArray</a></li><li><a href="global.html#toLower">toLower</a></li><li><a href="global.html#toMap">toMap</a></li><li><a href="global.html#toObjectMap">toObjectMap</a></li><li><a href="global.html#toSimplifiedChinese">toSimplifiedChinese</a></li><li><a href="global.html#toUpper">toUpper</a></li><li><a href="global.html#unescapeHTML">unescapeHTML</a></li></ul>
</nav>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.7</a> on Wed Aug 25 2021 17:57:45 GMT+0800 (GMT+08:00)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>