an adverb is a word that modifies verbs, adjectives, and other adverbs. 'Anyway' can be used as an adverb to mean 'in any case.'
rules and use cases for 'anyway' as an adverb include using it to introduce a statement that will remain true regardless of the preceding discussion or argument, or to emphasize that the importance of a prior statement is minimal.
1. 'It's too bad he won't be able to go, but either way we'll have fun anyway.'
2. 'I'm not sure I really argued my point very well, but it's okay – he gets the idea anyway.'
3. 'We're running out of time, but let's keep going anyway.'
tips and nuances associated with using 'anyway' as an adverb include using it to add emphasis to an independent statement, and knowing that it has the same effect as the word 'anyhow,' but that the latter is less formal.