You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
309 B
15 lines
309 B
5 months ago
|
/**
|
||
|
* 判断对象自身属性中是否具有指定的属性
|
||
|
* @param obj 对象
|
||
|
* @param key 键值
|
||
|
*/
|
||
|
export declare function hasOwnProp(obj: any, key: string | number): boolean;
|
||
|
|
||
|
declare module './ctor' {
|
||
|
interface XEUtilsMethods {
|
||
|
hasOwnProp: typeof hasOwnProp;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default hasOwnProp
|