package
Version:
v0.94.2-pre
Opens a new window with list of versions in this module.
Published: Apr 8, 2021
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 9
Opens a new window with list of known importers.
Documentation
¶
Package convert provides functions for type conversion.
func ToBool(v interface{}) bool
ToBool converts it's argument to a Boolean.
func ToBytes(v interface{}) []byte
ToBytes converts it's argument to a Buffer VM type.
func ToInteger(v interface{}) int
ToInteger converts it's argument to an Integer.
func ToString(v interface{}) string
ToString converts it's argument to a ByteString VM type.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.