Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AttrFalseFn ¶
type AttrFalseFn[T any] struct { // contains filtered or unexported fields }
type AttrFalseValue ¶
type AttrFalseValue[T any] struct { // contains filtered or unexported fields }
func FalseValue ¶
func FalseValue[T any](falseValue T) AttrFalseValue[T]
type AttrTrueFn ¶
type AttrTrueFn[T any] struct { // contains filtered or unexported fields }
type AttrTrueValue ¶
type AttrTrueValue[T any] struct { // contains filtered or unexported fields }
type Multivariate ¶ added in v1.64.1
type Multivariate[T any] struct { Items anyArrayV3.AnyArrayer[[]T] Default T }
func NewMultivariate ¶ added in v1.64.1
NewMultivariate 实例化:多元运算
func (*Multivariate[T]) FinallyFn ¶ added in v1.64.1
func (my *Multivariate[T]) FinallyFn(fn func(item T) bool) T
Finllay 获取优先级选项
func (*Multivariate[T]) SetDefault ¶ added in v1.64.1
func (my *Multivariate[T]) SetDefault(item T) *Multivariate[T]
SetDefault 设置默认值
type Multivatiater ¶ added in v1.64.1
type Ternary ¶
type Ternary[T any] struct { // contains filtered or unexported fields }
func NewTernary ¶
func NewTernary[T any](attrs ...TernaryAttributer[T]) Ternary[T]
NewTernary 实例化:三元运算
func (Ternary[T]) GetByValue ¶
GetByValue 获取值 → 通过值
func (Ternary[T]) Set ¶
func (t Ternary[T]) Set(attrs ...TernaryAttributer[T]) Ternary[T]
type TernaryAttributer ¶
Click to show internal directories.
Click to hide internal directories.