as.editset function

Coerce x to an editset