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
329 B
15 lines
329 B
5 months ago
|
/**
|
||
|
* 检查键、路径是否是该对象的属性
|
||
|
* @param obj 对象
|
||
|
* @param property 键、路径
|
||
|
*/
|
||
|
export declare function has(obj: any, property: undefined | null | number | number[] | string | string[]): boolean;
|
||
|
|
||
|
declare module './ctor' {
|
||
|
interface XEUtilsMethods {
|
||
|
has: typeof has;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default has
|