has.d.ts 290 B

1234567891011121314
  1. /**
  2. * 检查键、路径是否是该对象的属性
  3. * @param obj 对象
  4. * @param property 键、路径
  5. */
  6. export declare function has(obj: any, property: string | string[]): boolean;
  7. declare module './ctor' {
  8. interface XEUtilsMethods {
  9. has: typeof has;
  10. }
  11. }
  12. export default has