convert

package
v0.97.3-pre Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 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 interface{}) bool

ToBool converts it's argument to a Boolean.

func ToBytes added in v0.94.0

func ToBytes(v interface{}) []byte

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

func ToInteger

func ToInteger(v interface{}) int

ToInteger converts it's argument to an Integer.

func ToString added in v0.94.0

func ToString(v interface{}) 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