boolean

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: EPL-1.0 Imports: 5 Imported by: 0

Documentation

Overview

Package boolean exposes JVM-faithful java.lang.Boolean equivalents for code running on glojure.

Index

Constants

View Source
const (
	TRUE  = jbool.TRUE
	FALSE = jbool.FALSE
)

Variables

This section is empty.

Functions

func Compare

func Compare(x, y any) int32

func GetBoolean

func GetBoolean(x any) bool

func LogicalAnd

func LogicalAnd(x, y any) bool

func LogicalOr

func LogicalOr(x, y any) bool

func LogicalXor

func LogicalXor(x, y any) bool

func ParseBoolean

func ParseBoolean(x any) bool

func ToString

func ToString(x any) string

func ValueOf

func ValueOf(x any) bool

ValueOf accepts a string ("true" ci -> true; anything else -> false) or any value coerced to bool. Mirrors Boolean.valueOf(String|boolean).

Types

This section is empty.

Jump to

Keyboard shortcuts

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