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
/
toValues.d.ts
10 lines
(9 loc)
•
341 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
/** *
@description
返回object自身可枚举属性值 * *
@param
{
*
} obj 要返回可枚举属性值的对象 *
@return
{
*
} {
Array<any>
} 返回一个给定对象自身的所有可枚举属性值的数组 *
@example
toValues({a:1,b:2}) => [1, 2] */
declare
const
toValues
:
(
obj
:
any
) =>
Array
<
any
>;
export
default
toValues;