UNPKG

ng-hub-ui-table

Version:

Highly customizable Angular table and list components with pagination, sorting and filtering support.

21 lines (20 loc) 1.08 kB
/** * Checks if any Font Awesome base class is present in the input string. * * @param {string} input - The `containsFontAwesomeClass` function takes a string input and checks if it contains any of the Font * Awesome base classes such as 'fa-solid', 'fa-regular', 'fa-light', 'fa-duotone', 'fa-thin', or 'fa-brands'. * * @returns A boolean value - `true` if any of the Font Awesome base classes are * present in the input string, and `false` otherwise. */ export declare function containsFontAwesomeClass(input: string): boolean; /** * Checks if a string contains the 'bi' class using a regular expression in TypeScript. * * @param {string} input - The `input` parameter in the `containsBootstrapIconsClass` function is a string that represents a CSS * class or a list of CSS classes. The function checks if the input string contains the Bootstrap Icons class 'bi'. * * @returns returns a boolean value - `true` if the input string contains the 'bi' * class, and `false` otherwise. */ export declare function containsBootstrapIconsClass(input: string): boolean;