is/source
Simon Podlipsky ab4a3e99a0
feat: ensure there's at least 1 char in non-empty string
This is useful e.g. when trying to leverage a non-empty string for accessing its first character. We can say there's always at least 1 char in non-empty string so this allows us to do `s[0]` with ts option `noUncheckedIndexedAccess: true`.
2023-10-26 14:57:15 +02:00
..
index.ts feat: ensure there's at least 1 char in non-empty string 2023-10-26 14:57:15 +02:00
types.ts feat: ensure there's at least 1 char in non-empty string 2023-10-26 14:57:15 +02:00