The function applies to all words in the domain where the letters in the input word have a corresponding letter in the output word. There does not appear to be any part of the domain where the rule does not hold.

Is there anything else I can help you with?