Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConvertableNumber ¶
type ConvertableNumber interface { constraints.Float | constraints.Integer }
ConvertableNumber is a type constraint matching all numbers which can be converted to another ConvertableNumber. This includes bytes and runes but not complex numbers. Candidate for inclusion in constraints package.
type Number ¶
type Number interface { constraints.Float | constraints.Integer | constraints.Complex }
Number is a type constraint matching all numbers, including bytes and runes. Candidate for inclusion in constraints package.
type OrderedNumber ¶
type OrderedNumber interface { constraints.Float | constraints.Integer }
OrderedNumber is a type constraint matching all ordered numbers, including bytes and runes but not complex numbers, which are not ordered. Candidate for inclusion in constraints package.
Click to show internal directories.
Click to hide internal directories.