numinlist

package
v0.0.0-...-f29ba76 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NumInList

func NumInList(list []int, num int) bool

NumInList checks if a given number is present in a list of integers. It takes a slice of integers `list` and an integer `num` as input. It returns true if `num` is found in `list`, otherwise it returns false.

Types

This section is empty.

Jump to

Keyboard shortcuts

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