last

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package last provides helpers for retrieving the last element of a slice

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Of

func Of[TS ~[]T, T any](elements TS, by func(T) bool) (T, bool)

Of an alias of the slice.Last

Types

This section is empty.

Jump to

Keyboard shortcuts

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