1
This commit is contained in:
14
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/hasOwnProp.d.ts
vendored
Normal file
14
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/hasOwnProp.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* 判断对象自身属性中是否具有指定的属性
|
||||
* @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
|
||||
Reference in New Issue
Block a user