The spellcheck variable describes the current search spellcheck. It is available in the Search results designer, Result templates designer, and Custom (search) component.
spellcheck contains the spellcheck field for the response body to the Clustered search web service.