includes.d.ts 293 B

1234567891011121314
  1. /**
  2. * 判断对象是否包含该值,成功返回 true 否则 false
  3. * @param obj 对象
  4. * @param val 值
  5. */
  6. export declare function includes(obj: any, val: any): boolean;
  7. declare module './ctor' {
  8. interface XEUtilsMethods {
  9. includes: typeof includes;
  10. }
  11. }
  12. export default includes