A folding wireless keyboard exists to give you full-size typing in a bag-sized package, so the deciding factors are the unfolded key pitch and how stable the hinge feels.
Confirm the listing supports your operating system, since key mapping for iOS, Android, and Windows differs and some layouts lack a dedicated function row.