single word requests - Verb to describe "to enable or to disable"


I'm looking for a word that describes "to enable or to disable". This related question found the hypernyms mode and state, but I am looking for a verb. I.e. a word for "(potentially) change mode/state".


I guess to switch is a good match, but unfortunately in JavaScript (my target language), switch is a reserved keyword.


What alternatives are there?



Answer



May I suggest "to set availability"? I think it fits well for function names: SetButtonAvailability(), SetOptionAvailability(), etc. It's long, but descriptive...


Comments

Popular posts from this blog

verbs - "Baby is creeping" vs. "baby is crawling" in AmE

commas - Does this sentence have too many subjunctives?

time - English notation for hour, minutes and seconds

grammatical number - Use of lone apostrophe for plural?

etymology - Origin of "s--t eating grin"

etymology - Where does the phrase "doctored" originate?

word choice - Which is the correct spelling: “fairy” or “faerie”?