NullRange

package
v0.0.0-...-0b2f126 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2026 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Range.Interface
}

NullRange is the Null-Object variant of Range.

It satisfies Range.Interface so callers never have to test for a bare nil: it is an empty range — its bounds and step are the zero Number, it contains nothing, Each is a no-op success, ToArray yields an empty Array, Includes is always false, and IsNull() returns true.

func New

func New() Interface

New returns a NullRange.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL