compareBoundaryPoints method
Compares two ranges by comparing their boundary points.
![]() ![]() |
Syntax
var retval = Range.compareBoundaryPoints(how, sourceRange);Parameters
- how [in]
-
Type: short
Specifies how sourceRange is compared to the range of the object on which compareBoundaryPoints is invoked.
- sourceRange [in]
-
Type: object
Range object that is compared to the range of the object on which compareBoundaryPoints is invoked.
Return value
Type: Integer
Returns a –1, 0, or 1 to indicate whether the sourceRange point is before, equal to, or after the boundary point of the Range object on which compareBoundaryPoints is invoked.
Standards information
See also
Show:

