# Functions
AppendInt appends the string form of the integer i, as generated by FormatInt, to dst and returns the extended buffer.
AppendUint appends the string form of the unsigned integer i, as generated by FormatUint, to dst and returns the extended buffer.
Atoi is equivalent to ParseInt(s, 10, 0), converted to type int.
No description provided by the author
BoolToDigit converts bool to digit.
DereferenceImplementType returns the underlying type of the value that implements the interface v.
DereferenceInterfaceValue returns the value of the underlying type that implements the interface v.
DereferencePtrValue returns the underlying non-pointer type value.
DereferenceSlice convert []*D to []D.
DereferenceType dereference, get the underlying non-pointer type.
DereferenceValue dereference and unpack interface, get the underlying non-pointer and non-interface value.
DigitsToDigits creates a copy of the digit slice.
No description provided by the author
DigitToFloat64 converts digit to float64.
FormatInt returns the string representation of i in the given base, for 2 <= base <= 62.
FormatUint returns the string representation of i in the given base, for 2 <= base <= 62.
FormatUintByDict convert num into corresponding string according to dict.
IndirectValue gets the indirect value.
InitBool initializes false bool pointer with def.
InitByte initializes zero byte pointer with def.
InitFloat32 initializes zero float32 pointer with def.
InitFloat64 initializes zero float64 pointer with def.
InitInt initializes zero int pointer with def.
InitInt16 initializes zero int16 pointer with def.
InitInt32 initializes zero int32 pointer with def.
InitInt64 initializes zero int64 pointer with def.
InitInt8 initializes zero int8 pointer with def.
InitPointer initializes nil pointer with zero value.
InitSampleValue initialize the given type with some non-zero value( "?", $max_number, 0.1, true).
InitString initializes empty string pointer with def.
InitUint initializes zero uint pointer with def.
InitUint16 initializes zero uint16 pointer with def.
InitUint32 initializes zero uint32 pointer with def.
InitUint64 initializes zero uint64 pointer with def.
InitUint8 initializes zero uint8 pointer with def.
Itoa is equivalent to FormatInt(int64(i), 10).
ParseInt interprets a string s in the given base (0, 2 to 62) and bit size (0 to 64) and returns the corresponding value i.
ParseUint is like ParseInt but for unsigned numbers.
ParseUintByDict convert numStr into corresponding uint64 according to dict.
ReferenceSlice convert []D to []*D, the ptrDepth is the count of '*'.
ReferenceType convert D to *D, the ptrDepth is the count of '*'.
ReferenceValue convert D to *D, the ptrDepth is the count of '*'.
RuntimeTypeID returns the underlying type ID in current runtime from reflect.Type.
RuntimeTypeIDOf returns the underlying type ID in current runtime from interface object.
SetsDifference calculates between multiple collections: set1 - set2 - others..
SetsIntersect calculates between multiple collections: set1 ∩ set2 ∩ others..
SetsUnion calculates between multiple collections: set1 ∪ set2 ∪ others..
No description provided by the author
StringToDigit converts ~string to digit.
ToBool converts D to bool.
ToBools converts []D to []bool.
ToInterface converts any to interface.
ToInterfaces converts []any to []interface.
ToPtr converts D to *D.
ToPtrWithErr converts D to *D.
ToString converts any to ~string.
ToStrings converts []T to []D.
UnsafeBytesToString convert []byte type to string type.
UnsafeStringToBytes convert string type to []byte type.
ValueFrom gets go underlying type data from reflect.Value.
ValueFrom2 gets go underlying type data from *reflect.Value.
ValueOf unpacks i to go underlying type data.
VecConcat is used to merge two or more slices.
VecCopy creates a copy of the slice.
VecCopyWithin copies part of an slice to another location in the current slice.
VecDistinct calculates the count of each different element, and only saves these different elements in place if changeSlice is true.
VecEvery tests whether all elements in the slice pass the test implemented by the provided function.
VecFill changes all elements in the current slice to a value, from a start index to an end index.
VecFilter creates a new slice with all elements that pass the test implemented by the provided function.
VecFind returns the key-value of the first element in the provided slice that satisfies the provided testing function.
VecIncludes determines whether an slice includes a certain value among its entries.
VecIndexOf returns the first index at which a given element can be found in the slice, or -1 if it is not present.
VecIntersect calculates intersection of two or more slices, and returns the count of each element.
VecLastIndexOf returns the last index at which a given element can be found in the slice, or -1 if it is not present.
VecMap creates a new slice populated with the results of calling a provided function on every element in the calling slice.
VecOne try to return the first element, otherwise return zero value.
VecPop removes the last element from an slice and returns that element.
VecPush adds one or more elements to the end of an slice and returns the new length of the slice.
VecPushDistinct adds one or more new elements that do not exist in the current slice at the end.
VecReduce executes a reducer function (that you provide) on each element of the slice, resulting in a single output value.
VecReduceRight applies a function against an accumulator and each value of the slice (from right-to-left) to reduce it to a single value.
VecRemoveEvery removes all the elements from the slice, and returns the new length of the slice.
VecRemoveFirst removes the first matched elements from the slice, and returns the new length of the slice.
VecReverse reverses an slice in place.
VecShift removes the first element from an slice and returns that removed element.
VecSlice returns a copy of a portion of an slice into a new slice object selected from begin to end (end not included) where begin and end represent the index of items in that slice.
VecSome tests whether at least one element in the slice passes the test implemented by the provided function.
VecSplice changes the contents of an slice by removing or replacing existing elements and/or adding new elements in place.
VecUnshift adds one or more elements to the beginning of an slice and returns the new length of the slice.
VecUnshiftDistinct adds one or more new elements that do not exist in the current slice to the beginning and returns the new length of the slice.
Zero return zero value.