(a: unknown)
| 66 | * @since 4.0.0 |
| 67 | */ |
| 68 | export const nonEmptyString = (a: unknown): string | undefined => { |
| 69 | if (typeof a === "string") { |
| 70 | const trimmed = String.trim(a) |
| 71 | if (String.isNonEmpty(trimmed)) { |
| 72 | return trimmed |
| 73 | } |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | /** |
| 78 | * Renders an optional description as a JSDoc block for generated TypeScript. |
nothing calls this directly
no outgoing calls
no test coverage detected