Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNil ¶
IsNil returns whether the given value v is nil.
💡 NOTE: Typed nil interface (such as fmt.Stringer((*net.IP)(nil))) is nil, although fmt.Stringer((*net.IP)(nil)) != nil.
🚀 EXAMPLE:
IsNil(nil) ⏩ true IsNil(1) ⏩ false IsNil((*int)(nil)) ⏩ true IsNil(fmt.Stringer((*net.IP)(nil))) ⏩ true
⚠️ WARNING: This function is implemented using unsafe.
Types ¶
type Tuple10 ¶
type Tuple10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 any] struct { Val1 T1 Val2 T2 Val3 T3 Val4 T4 Val5 T5 Val6 T6 Val7 T7 Val8 T8 Val9 T9 Val10 T10 }
type Tuple5 ¶
type Tuple5[T1, T2, T3, T4, T5 any] struct { Val1 T1 Val2 T2 Val3 T3 Val4 T4 Val5 T5 }
type Tuple6 ¶
type Tuple6[T1, T2, T3, T4, T5, T6 any] struct { Val1 T1 Val2 T2 Val3 T3 Val4 T4 Val5 T5 Val6 T6 }
type Tuple7 ¶
type Tuple7[T1, T2, T3, T4, T5, T6, T7 any] struct { Val1 T1 Val2 T2 Val3 T3 Val4 T4 Val5 T5 Val6 T6 Val7 T7 }
type Tuple8 ¶
type Tuple8[T1, T2, T3, T4, T5, T6, T7, T8 any] struct { Val1 T1 Val2 T2 Val3 T3 Val4 T4 Val5 T5 Val6 T6 Val7 T7 Val8 T8 }
Click to show internal directories.
Click to hide internal directories.