Add onboarding (WIP)

This commit is contained in:
Paul Frazee 2022-11-07 15:35:51 -06:00
parent b4097e25d6
commit d228a5f4f5
15 changed files with 613 additions and 34 deletions

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')
}