code: function isComparable(object) {
  	let type = typeof object;
  	if (type === 'number' || type === 'string' || type == 'boolean') return true;
  	if (type === 'object' && object instanceof Date) return true;
  	return false;
  }
docs: Types on which comparison operators are valid.
  @typedef {number|string|boolean|Date} Comparable
   Return true if object is one of the comparable types
  @param object - object to test
  @returns true if object is comparable (@see Comparable)