UNPKG

dev-classes

Version:
18 lines (16 loc) 802 B
import { UtilsProps } from './Utils.types'; export declare class Utils { static events: UtilsProps['events']; static sortDataByAlphabet: UtilsProps['sortDataByAlphabet']; static sortDataByDate: (data: any[], keyDate: string) => void; static sortDataByDateAndTime: (data: any[], keyDate: string) => void; private static splitDateFromTime; static reverseDate: (datePPR: any) => string; static correctionDataISO8601: (date: string) => string; static hasDateLessPeriod: (date: string, period: string, option?: { dateMinMax: '<=' | '>=' | '<' | '>'; }) => boolean | undefined; static getEndsWithArr: (arr: any[], countEnd: any) => any[]; static deepMerge: <T extends object = object>(...itemsOb: T[]) => T; static isJSON: (str: string) => boolean; }