This was just added in the latest version (2020.06.24). It might only be available on the Dev Branch right now.
Returns a specific weapon the NPC owns.
1 string class
A classname of the weapon to try to get
1 Weapon wep
The weapon for the specified class, or NULL of the NPC doesn't have given weapon.