# Functions

Chain is a reverse Pipe Chain(m1, m2, m3)(value) => m1(m2(m3(value))).
ChainWithErr is a reverse PipeWithErr ChainWithErr(m1, m2, m3)(value) => m1(m2(m3(value))).
Default returns the first non-zero value.
No description provided by the author
DefaultWithFunc returns defaultValue if value is zero, otherwise value.
ErrorIf returns an error if the condition is true.
If returns trueVal if condition is true, otherwise falseVal.
IfFunc returns trueFunc() if condition is true, otherwise falseFunc().
IsEmpty returns true if the value is zero.
IsType returns true if the value is the type.
IsZero returns true if the value is zero.
No description provided by the author
Once returns a function that calls the given function only once.
Optional returns the value if it is not nil, otherwise the zero value.
PanicIf panics if the condition is true.
Pipe is a function that takes a value and returns a value Pipe(m1, m2, m3)(value) => m3(m2(m1(value))).
PipeWithErr is a function that takes a value and returns a value and an error PipeWithErr(m1, m2, m3)(value) => m3(m2(m1(value))).
Ptr returns a pointer to the value.
Repeat runs the given function `times` times or until an error is returned.
Retry retries the given function until it returns nil or the attempts are exhausted.
ReturnIf returns the result of the callback if the condition is true.
Scan sets the value of dest to the value of src.
Tap calls the given callback with the given value then returns the value.
Timeout runs the given function with a timeout.
Transform calls the given callback with the given value then return the result.
Unless returns falseVal if condition is true, otherwise trueVal.
Until retries the given function until it returns true.
UntilTimeout retries the given function until it returns true or the timeout is reached.
Val returns the value of the pointer.
When calls the given callback with the given value if the condition is true.
With calls the given callbacks with the given value then return the value.

# Structs

No description provided by the author