smartlink-format-time
Version:
smartlink-format-time
30 lines (29 loc) • 1.14 kB
TypeScript
/**
* @Author: v_jppjpeng
* @Date: 2025-04-10 10:17:45
* @Explain: 数据判断
*/
/** 是否有效值 */
export declare function isEffectiveValue(value: any): boolean;
/** 是否无效值 */
export declare function isInvalidValue(value: any): boolean;
/** 是否是对象 */
export declare function isObject(value: any): any;
/** 是否是数组 */
export declare function isArray(value: any): any;
/** 是否是字符串 */
export declare function isString(value: any): boolean;
/** 是否是数字 */
export declare function isNumber(value: any): boolean;
/** 是否是函数 */
export declare function isFunction(value: any): boolean;
/** 是否中文 */
export declare function isChinese(val: any): boolean;
/** 校验数组是否为空 */
export declare function isArrayLen(value: any): any;
/** 校验对象是否为空 */
export declare function isEmptyObject(obj: Record<any, any>): boolean;
/** 校验对象是否有值 */
export declare function isObjectLen(obj: Record<any, any>): boolean;
/** 校验是否iso86 时间格式 */
export declare function isIso86DateTime(val: string): boolean;