collapse (direction) {
    var offset
    if (direction === 'left') {
      offset = this.start.offset
    } else {
      offset = this.end.offset
    }
    return this.createWithNewRange(offset, offset)
  }
Collapse a selection to chosen direction.

    @param {String} direction either left of right
    @returns {PropertySelection}