(x: unknown)
| 111 | } |
| 112 | |
| 113 | function isNonEmptyString(x: unknown): x is string { |
| 114 | return typeof x === 'string' && x.length > 0; |
| 115 | } |
| 116 | |
| 117 | function isPositiveInt(x: unknown): x is number { |
| 118 | return typeof x === 'number' && Number.isFinite(x) && x > 0; |
no outgoing calls
no test coverage detected