toggle


Description:

public abstract bool toggle (string token, bool force = false, bool auto = true) throws Error

If auto is true, adds token if not present and removing if it is, @force value is taken in account. If auto is false, then @force is considered; if true adds token, if false removes it.