Prototype commit

This commit is contained in:
Xevion
2023-01-14 13:58:36 -06:00
parent a8373d27cd
commit 496a25cf59
12 changed files with 1291 additions and 9 deletions

5
src/helpers.ts Normal file
View File

@@ -0,0 +1,5 @@
export function truthy(value: string | null | undefined) {
if (value == undefined) return false;
return value.toLowerCase() == 'true' || value == '1';
}