Something went wrong. Try again.
Mirror — see github.com/blacksky-algorithms/blacksky.community
Something went wrong. Try again.
1234567891011121314import {forceLTR} from './bidi'
export function sanitizePronouns( pronouns: string, forceLeftToRight = true,): string { if (!pronouns || pronouns.trim() === '') { return '' }
const trimmed = pronouns.trim().toLowerCase() return forceLeftToRight ? forceLTR(trimmed) : trimmed}