1
This commit is contained in:
14
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/has.d.ts
vendored
Normal file
14
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/has.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* 检查键、路径是否是该对象的属性
|
||||
* @param obj 对象
|
||||
* @param property 键、路径
|
||||
*/
|
||||
export declare function has(obj: any, property: string | string[]): boolean;
|
||||
|
||||
declare module './ctor' {
|
||||
interface XEUtilsMethods {
|
||||
has: typeof has;
|
||||
}
|
||||
}
|
||||
|
||||
export default has
|
||||
Reference in New Issue
Block a user