feat: more ui, looping

This commit is contained in:
Daniel Ledda
2021-08-30 14:12:41 +02:00
parent 76b8a427bc
commit 7fa530f070
22 changed files with 529 additions and 166 deletions

3
src/utils.ts Normal file
View File

@@ -0,0 +1,3 @@
export function isPosInt(maybePosInt: number): boolean {
return (maybePosInt | 0) === maybePosInt && maybePosInt > 0;
}