Files
number_zj/20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/pluck.d.ts
毛财君 197b38ca6f 1
2023-07-06 17:37:33 +08:00

16 lines
302 B
TypeScript

/**
* 获取数组对象中某属性值,返回一个数组
* @param array 数组
* @param key 键
* @example
*/
export declare function pluck(array: any[], key: string | number): any[];
declare module './ctor' {
interface XEUtilsMethods {
pluck: typeof pluck;
}
}
export default pluck