less

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2020 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package less can generates some useful less functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Float64WithTie

func Float64WithTie(a, b float64, tie func() bool) bool

Float64WithTie returns true/false if a is strictly less/greater than b, or returns result of tie. tie is called only when necessary.

func IntWithTie

func IntWithTie(a, b int, tie func() bool) bool

IntWithTie returns true/false if a is strictly less/greater than b, or returns result of tie. tie is called only when necessary.

func StrLenOrContent

func StrLenOrContent(a, b string) bool

StrLenOrContent first compare length of a, b. If tie, returns a < b.

Types

This section is empty.

Jump to

Keyboard shortcuts

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