Green’s Dictionary of Slang

A-1 adv.

also A-number-one
[A-1 adj.]

1. [late 19C+] excellently, in the best way.

2. [2000s] totally, completely.