Would anyone please enlighten me on why the author uses 'if and only if' here? It sounds to me as though just 'if' sufficed for him to inform the readers 'Cats are her favourite animals' is the truth condition.
Implicature
A communicated implication of an utterance. A speaker can intend to mean more by her utterance than what the words that she utters mean, as the philosopher Paul Grice pointed out.
Andy: I think we should get a pet.
Bess: Cats are my favourite animals.
Here Bess’s utterance is true if and only if cats are her favourite animals. However, in the context, it is likely that she conveyed more, in making her utterance, than this (and that she intended to do so). She intentionally and openly implied that she and Andy should get a cat (or cats) as pets. Pragmatic theorists would say that she implicated that she and Andy should get a cat (or cats) as pets.
[...]
(source: Key Terms in Pragmatics)