# Functions
Contains returns true if the given string array (haystack) contains given string (needle).
No description provided by the author
No description provided by the author
HasBits checks if sum contains bit by performing a bitwise AND operation between values.
No description provided by the author
IsDomain checks whether `url`s domain matches the given domain exactly (non-case sensitive) The `domain` string must be fully lowercased.
IsDomains checks whether `url`s domain matches any of the given domains exactly (non-case sensitive) The `domains` map should only contain fully lowercased domains.
No description provided by the author
IsSubdomainOf checks whether `url` is a subdomain of `parent`.
No description provided by the author
MimeType turn a vips.ImageType into a MIME type string.
No description provided by the author
SetFromSlice takes a slice and returns a set (represented as a map of struct{}s).
No description provided by the author
TruncateString truncates string down to the maximum length with a unicode triple dot if truncation took place.
No description provided by the author