| 1 | /** |
| 2 | * Binary sex pronouns for humanoids. Never use singular they. |
| 3 | * Unknown / missing sex defaults to male forms. |
| 4 | */ |
| 5 | |
| 6 | export function subjectPronoun (sex) |
| 7 | { |
| 8 | return sex === "female" ? "she" : "he"; |
| 9 | } |
| 10 | |
| 11 | export function objectPronoun (sex) |
| 12 | { |
| 13 | return sex === "female" ? "her" : "him"; |
| 14 | } |
| 15 | |
| 16 | export function possessiveDeterminer (sex) |
| 17 | { |
| 18 | return sex === "female" ? "her" : "his"; |
| 19 | } |