(self: string)
| 915 | * @since 4.1.5 |
| 916 | */ |
| 917 | export const toWellFormed = (self: string): string => |
| 918 | (self as WellFormedNative).toWellFormed?.() ?? |
| 919 | (isWellFormed(self) ? self : self.replace(loneSurrogates, "\uFFFD")) |
| 920 | |
| 921 | /** |
| 922 | * Pads the string from the end with a given fill string to a specified length. |
no test coverage detected