@technobuddha/library
Version:
A large library of useful functions
110 lines (96 loc) • 2.02 kB
text/typescript
/**
* The empty string
* @group Unicode
* @category Constants
*/
export const empty = '';
/**
* Space
* @group Unicode
* @category Constants
*/
export const space = ' ';
/**
* Non-breaking space
* @group Unicode
* @category Constants
*/
export const nbsp = '\u00A0';
/**
* Zero-width space
* @group Unicode
* @category Constants
*/
export const zwsp = '\u200B';
/**
* Fraction Slash
* @group Unicode
* @category Constants
*/
export const fractionSlash = '⁄'; // U+2044 FRACTION SLASH
/**
* Hyphen
* @group Unicode
* @category Constants
*/
export const hyphen = '‐'; // U+2010 HYPHEN
/**
* Non-Breaking Hyphen
* @group Unicode
* @category Constants
*/
export const nonBreakingHyphen = '‑'; // U+2011 NON-BREAKING HYPHEN
/**
* Soft Hyphen
* @group Unicode
* @category Constants
*/
export const softHyphen = ''; // U+00AD SOFT HYPHEN
/**
* Negative Sign
* @group Unicode
* @category Constants
*/
export const negativeSign = '˗'; // U+02D7 MODIFIER LETTER MINUS
/**
* Positive Sign
* @group Unicode
* @category Constants
*/
export const positiveSign = '˖'; // U+02D8 MODIFIER LETTER PLUS
/**
* Superscript Negative
* @group Unicode
* @category Constants
*/
export const supNegative = '⁻'; // U+207B SUPERSCRIPT MINUS
/**
* Superscript Positive
* @group Unicode
* @category Constants
*/
export const supPositive = '⁺'; // U+207A SUPERSCRIPT PLUS
/**
* Subscript Negative
* @group Unicode
* @category Constants
*/
export const subNegative = '₋'; // U+208B SUBSCRIPT MINUS
/**
* Subscript Positive
* @group Unicode
* @category Constants
*/
export const subPositive = '₊'; // U+208A SUBSCRIPT PLUS
/**
* Invisible Plus sign
* @group Unicode
* @category Constants
*/
export const invisiblePlus = ''; // U+2064 INVISIBLE PLUS
/**
* Unicode replacement character (U+FFFD), used to represent an unknown, unrecognized, or unrepresentable character.
* @group Unicode
* @category Constants
*/
export const replacementCharacter = '\uFFFD';