Empty string.
This type is a string with no characters on it (length 0). Trying to access characters should return undefined, and several of its methods return another EmptyString.
0
undefined
const emptyString: EmptyString = ""; Copy
const emptyString: EmptyString = "";
Empty string.
Remarks
This type is a string with no characters on it (length
0
). Trying to access characters should returnundefined
, and several of its methods return another EmptyString.Example