IsRangeEmpty function

Warning

This documentation refers to the Classic QDK, which has been replaced by the Modern QDK.

Please see https://aka.ms/qdk.api for the API documentation for the Modern QDK.

Namespace: Microsoft.Quantum.Canon

Package: Microsoft.Quantum.Standard

Returns true if and only if input range is empty.

function IsRangeEmpty (rng : Range) : Bool

Input

rng : Range

Any range

Output : Bool

True, if and only if rng is empty