tag not recognised by unity.

I have a script, that looks to check if the object in the trigger has a tag, like this on line 8 of the script:

if(Insphere.gameObject.tag == inputtag){ 

I have this tag set up, and my gameobject with this tag assigned. Yet Unity throws an error:
Assets/InputCounter.js(8,28): BCE0005: Unknown identifier: ‘inputtag’.
Now this worked every time I’ve done it before, but not now. WHY?

Don’t worry, i should have used Insphere.CompareTag(“inputtag”)