UNPKG

@metadev/lux

Version:

Lux: Library with User Interface components for Angular.

16 lines (15 loc) 1.04 kB
export declare const exists: (value: any) => boolean; export declare const hasValue: (value: any) => boolean; export declare const isEmptyString: (value: string) => boolean; export declare const isValidEmail: (value: string) => boolean; export declare const isValidUrl: (value: string) => boolean; export declare const isValidRelativeUrl: (value: string) => boolean; export declare const isValidColor: (value: string) => boolean; export declare const isValidDate: (date: Date) => boolean; export declare const normalizeDate: (value: any) => string; export declare const addTimezoneOffset: (date: Date) => Date; export declare const isValidNumber: (value: string | number | undefined | null) => boolean; export declare const numberOfDecimalDigits: (x: number | string) => number | undefined; export declare const numberOfWholeDigits: (x: number | string) => number | undefined; export declare const roundToMultipleOf: (x: number, modulo: number) => number; export declare const isInitialAndEmpty: (previousValue: any, newValue: any) => boolean;