Vinyl
    Preparing search index...

    Function isCodeLocationInRange

    • Returns true if the given location is within a range of code.

      Parameters

      • location: Maybe<CodeLocation>

        The location of the code to check if within bounds. If falsy, false is returned.

      • range: CodeRange

        The boundaries to check against. If both start and end are null, false is returned. The range will consider range.start to be inclusive, and range.end to be exclusive.

      Returns boolean