UNPKG

317 BTypeScriptView Raw
1/**
2 * 获取数组对象中某属性值,返回一个数组
3 * @param array 数组
4 * @param key 键
5 * @example
6 */
7export declare function pluck(array: any[], key: string | number): any[];
8
9declare module './ctor' {
10 interface XEUtilsMethods {
11 pluck: typeof pluck;
12 }
13}
14
15export default pluck