stringz

package
v0.0.0-...-99dae19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(haystack []string, needle string) bool

Contains returns true if needle is an element of haystack.

func ContainsAnySub

func ContainsAnySub(s string, subs []string) bool

ContainsAnySub returns true if s contains at least one element of subs.

func RemoveDuplicates

func RemoveDuplicates(s []string) []string

RemoveDuplicates returns s with all duplicate elements removed.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL