Add onboarding (WIP)

This commit is contained in:
Paul Frazee
2022-11-07 15:35:51 -06:00
parent 34203fcbce
commit 0fae45e8df
15 changed files with 613 additions and 34 deletions
+4
View File
@@ -8,3 +8,7 @@ export function hasProp<K extends PropertyKey>(
): data is Record<K, unknown> {
return prop in data
}
export function isStrArray(v: unknown): v is string[] {
return Array.isArray(v) && v.every(item => typeof item === 'string')
}