fn

package
v0.1.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Const

func Const[T any](v T) func() T

Const returns a function with a constant value of any type

func If

func If[T any](condFn Bool, left, right func() T) func() T

Types

type Bool

type Bool func() bool

type Color

type Color func() color.Color

type Int

type Int func() int

type Point

type Point func() image.Point

type Rect

type Rect func() image.Rectangle

type String

type String func() string

Jump to

Keyboard shortcuts

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