Convention: { is: (str: string) => boolean; to: (str: string) => string }

Convention is an object with a to function that takes a string and returns a string, and an is function that takes a string and returns a boolean.