package
0.6.41
Repository: https://github.com/effective-security/x.git
Documentation: pkg.go.dev

# Functions

Bool returns bool value.
Coalesce returns the first non-empty value.
FromJSON returns map from json encoded string, this method does not return value on error, as the value is expected a valid JSON string.
FromYAML returns map from yaml encoded string, this method does not return value on error, as the value is expected a valid YAML string.
Int will return the value as int.
Int64 will return the value as int64.
IsCollection returns true for slices and maps.
JSON returns the value as a JSON string.
NumbersCoalesce returns the first value from the supplied list that is not 0, or 0 if there are no values that are not zero.
OrderedMapKeys returns ordered keys.
RangeOrderedMap range over ordered map.
Select returns a if cond is true, otherwise b.
String returns string value.
StringsCoalesce returns the first non-empty string value.
StringSlice returns slice of string values.
Time will return the value as Time.
UInt64 will return the value as uint64.

# Interfaces

Measurable interface.

# Type aliases

MapAny provides map of values.