amis-rpc-design/node_modules/rc-select/es/utils/commonUtil.d.ts

10 lines
470 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
import type { DisplayValueType } from '../BaseSelect';
export declare function toArray<T>(value: T | T[]): T[];
export declare const isClient: HTMLElement;
/** Is client side and not jsdom */
export declare const isBrowserClient: HTMLElement;
export declare function hasValue(value: any): boolean;
/** combo mode no value judgment function */
export declare function isComboNoValue(value: any): boolean;
export declare function getTitle(item: DisplayValueType): string;