tplus-api
Version:
tplus api invoke
20 lines (19 loc) • 594 B
TypeScript
export default class tools {
static isJsonStr(jsonStr: string): boolean;
static trim(str: string): string;
static isNull(s: string): boolean;
static arrayContains(array: Array<Object>, element: Object): boolean;
static GetQueryString(locationSearch: string, name: string): string;
/**
* 获取当前时间
* @return 返回时间类型 yyyy-MM-dd HH:mm:ss
*/
static sysTime(): string;
/**
* 时间补0
*
* @return 返回时间类型 yyyy-MM-dd HH:mm:ss
*/
static getMakeZero(s: any): string;
static isApp(): boolean;
}