Archived
1
0

Swap negative check for positive check

This commit is contained in:
Asher
2020-12-18 11:21:06 -06:00
parent 3cc74ccd79
commit d14c2e5bb7

View File

@ -110,5 +110,5 @@ export const getFirstString = (value: string | string[] | object | undefined): s
return value[0]
}
return typeof value !== "object" ? value : undefined
return typeof value === "string" ? value : undefined
}