package
1.5.0
Repository: https://github.com/hashicorp/go-cty.git
Documentation: pkg.go.dev

# Packages

Package stdlib is a collection of cty functions that are expected to be generally useful, and are thus factored out into this shared library in the hope that cty-using applications will have consistent behavior when using these functions.

# Functions

New creates a new function with the given specification.
No description provided by the author
No description provided by the author
StaticReturnType returns a TypeFunc that always returns the given type.
Unpredictable wraps a given function such that it retains the same arguments and type checking behavior but will return an unknown value when called.

# Structs

ArgError represents an error with one of the arguments in a call.
Function represents a function.
PanicError indicates that a panic occurred while executing either a function's type or implementation function.
Parameter represents a parameter to a function.
Spec is the specification of a function, used to instantiate a new Function.

# Type aliases

ImplFunc is a callback type for the main implementation of a function.
ProxyFunc the type returned by the method Function.Proxy.
TypeFunc is a callback type for determining the return type of a function given its arguments.