textutils

package
v0.1.18 Latest Latest
Warning

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

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

Documentation

Overview

Package textutils provides common helper functions for text manipulation or output used by applications in this module.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InList

func InList(needle string, haystack []string, ignoreCase bool) bool

InList is a helper function to emulate Python's `if "x" in list:` functionality. The caller can optionally ignore case of compared items.

TODO: Move this to a separate repo (numerous projects have their own copy at this point).

Types

This section is empty.

Jump to

Keyboard shortcuts

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