convert

package
v0.0.0-...-d78ed4e Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: MIT Imports: 0 Imported by: 9

Documentation

Overview

Package convert provides functions for type conversion.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToBool

func ToBool(v any) bool

ToBool converts it's argument to a Boolean.

func ToBytes

func ToBytes(v any) []byte

ToBytes converts it's argument to a Buffer VM type.

func ToInteger

func ToInteger(v any) int

ToInteger converts it's argument to an Integer.

func ToString

func ToString(v any) string

ToString converts it's argument to a ByteString VM type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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