UNPKG
js-wrench
Version:
latest (1.3.1)
1.3.1
1.3.0
1.2.2
1.2.1
JS函数库
js-wrench
/
d.ts
/
modules
/
reverse.d.ts
10 lines
(9 loc)
•
369 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
/** *
@description
将字符串, 数字或者数组进行反序输出 * *
@param
{
*
} v 要返回其自身反序的操作 *
@return
{
*
} {
(Array<any> | string | number | null)
} 返回一个数组,或字符串,数字 *
@example
reverse("abcdef") => "fedcba" */
declare
const
reverse
:
(
v
:
any
) =>
Array
<
any
> |
string
|
number
|
null
;
export
default
reverse;