UNPKG

@adaptabletools/adaptable

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

42 lines (41 loc) 2.45 kB
export declare function IsNull(stringToCheck: string | undefined): boolean; export declare function IsNotNull(stringToCheck: string | undefined): boolean; export declare function IsEmpty(stringToCheck: string | undefined): boolean; export declare function IsNotEmpty(stringToCheck: string | undefined): boolean; export declare function IsNullOrEmpty(stringToCheck: string | undefined): boolean; export declare function IsNotNullOrEmpty(stringToCheck: string | undefined): boolean; export declare function IsNullOrEmptyOrWhiteSpace(stringToCheck: string | undefined): boolean; export declare function IsNotNullOrEmptyOrWhiteSpace(stringToCheck: string | undefined): boolean; export declare function CamelCaseToHumanText(camelCase: string | undefined): string | null; export declare function RemoveTrailingComma(stringToCheck: string): string; export declare function ToLowerCase(stringToCheck: string): string; export declare function Includes(stringToCheck: string, valueToCheck: string): boolean; export declare function NotIncludes(stringToCheck: string, valueToCheck: string): boolean; export declare function AbbreviateString(stringToAbbreviate: string, maxLength: number): string; export declare function CapitaliseFirstLetter(str: string): string; export declare function Humanize(str: string): string; export declare function ReplaceEmptySpacesWithUnderscore(str?: string): string; export declare function IsNumeric(str: string): boolean; export declare function UnescapeHtmlEntities(str: string): string; export declare const StringExtensions: { IsNull: typeof IsNull; IsNotNull: typeof IsNotNull; IsEmpty: typeof IsEmpty; IsNotEmpty: typeof IsNotEmpty; IsNullOrEmpty: typeof IsNullOrEmpty; IsNotNullOrEmpty: typeof IsNotNullOrEmpty; IsNullOrEmptyOrWhiteSpace: typeof IsNullOrEmptyOrWhiteSpace; IsNotNullOrEmptyOrWhiteSpace: typeof IsNotNullOrEmptyOrWhiteSpace; CamelCaseToHumanText: typeof CamelCaseToHumanText; RemoveTrailingComma: typeof RemoveTrailingComma; ToLowerCase: typeof ToLowerCase; Includes: typeof Includes; NotIncludes: typeof NotIncludes; AbbreviateString: typeof AbbreviateString; CapitaliseFirstLetter: typeof CapitaliseFirstLetter; Humanize: typeof Humanize; ReplaceEmptySpacesWithUnderscore: typeof ReplaceEmptySpacesWithUnderscore; IsNumeric: typeof IsNumeric; UnescapeHtmlEntities: typeof UnescapeHtmlEntities; }; export default StringExtensions;