@worktif/purei
Version:
Work TIF Material UI Theme Provider and Customization Suite for React applications with dark mode support and dynamic color schemes
51 lines (50 loc) • 2 kB
TypeScript
/**
* A constant that represents an empty string.
* This is a predefined string initialized to an empty value.
* Can be used as a default value where a non-null but empty string is required.
* Helps in avoiding repetitive redeclaration of empty string literals in code.
*/
export declare const EMPTY_STRING = "";
/**
* A constant representing an empty numeric value.
*
* This variable is assigned the value `0` and is typically used to denote
* a default or uninitialized numeric state in the application logic.
*
* It can act as a placeholder for numeric calculations, comparisons,
* or wherever a zero value is required to indicate an "empty" or
* "no value" condition.
*/
export declare const EMPTY_NUMBER = 0;
/**
* A constant representing an empty array.
*
* This variable is used as a placeholder or default value where an empty array is required.
* It is immutable and shared across the application, ensuring consistency when an empty array
* needs to be referenced without allocating a new instance.
*
* Note: Modifying the contents of this array is not recommended as it is intended to remain empty.
*/
export declare const EMPTY_ARRAY: never[];
/**
* A constant representing a single space character.
* This variable is commonly used to add spacing between
* strings, format text, or handle operations where a space character is required.
*
* It is defined as a single space (' ').
*
* @constant {string} SPACE
*/
export declare const SPACE = " ";
/**
* A constant variable representing a hash symbol ('#').
* Commonly used as a prefix or identifier in various contexts such as hashtags, CSS ID selectors, or URL fragments.
* This variable is defined as a single-character string.
*/
export declare const HASH = "#";
/**
* Represents a comma character (",").
* Commonly used as a delimiter in CSV files, lists, or other data structures.
* Can also be utilized in string manipulation and formatting operations.
*/
export declare const COMMA = ",";