kind

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ElementType

func ElementType(ty string) string

ElementType returns the element type of a value of an array or map.

func IsArray

func IsArray(ty string) bool

IsArray tests for an array kind.

func IsFunc added in v0.17.4

func IsFunc(ty string) bool

IsFunc tests for a function literal.

func IsLiteral added in v0.18.0

func IsLiteral(ty string) bool

IsLiteral return true for any literal (including functions).

func IsMap

func IsMap(ty string) bool

IsMap tests for a map kind.

func IsObject added in v0.18.0

func IsObject(ty string) bool

IsObject returns true for an object type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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