Detective, a.
Fitted for, or skilled in, detecting; employed in detecting crime or criminals; as, a detective officer.
1 other Webster entry under this spelling
Detective, n.
One who business it is so detect criminals or discover matters of secrecy.
Shades of meaning
Fernald has no entry of its own for detective; he lists it under spy.
He lists it without comment; the entries above explain its neighbors.