rc-js-util
Version:
A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.
108 lines (49 loc) • 1.35 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [\_String](./rc-js-util._string.md)
## \_String class
Utilities that apply to `string`<!-- -->.
**Signature:**
```typescript
export declare class _String
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[concat2](./rc-js-util._string.concat2.md)
</td><td>
`static`
`readonly`
</td><td>
typeof stringConcat2
</td><td>
Like concat but for only 2 parameters (yes it's dumb, but it can be a lot faster for lots of small joins).
</td></tr>
<tr><td>
[normalizeEmptyToUndefined](./rc-js-util._string.normalizeemptytoundefined.md)
</td><td>
`static`
`readonly`
</td><td>
typeof stringNormalizeEmptyToUndefined
</td><td>
Replaces length 0 strings with `undefined`<!-- -->.
</td></tr>
<tr><td>
[normalizeNullUndefinedToEmpty](./rc-js-util._string.normalizenullundefinedtoempty.md)
</td><td>
`static`
`readonly`
</td><td>
typeof stringNormalizeNullUndefinedToEmpty
</td><td>
Replaces `null` / `undefined` with an empty `string`<!-- -->.
</td></tr>
</tbody></table>