UNPKG

@benshi.ai/js-sdk

Version:

Benshi SDK

13 lines (12 loc) 521 B
declare const offsetToISO8601: (offset: any) => string; declare const toISOLocal: (d: Date) => string; /** * Checks whether the given date matches the format * * 1937-01-01T12:00:27.87+00:20 * @param timestamp */ declare const isISOLocal: (timestamp: string) => boolean; declare const hasRepeatedIds: (collection: any[]) => boolean; declare const checkObjectFieldEmptyiness: (obj: any, fieldsToCheck: string[]) => void; export { checkObjectFieldEmptyiness, hasRepeatedIds, isISOLocal, offsetToISO8601, toISOLocal };