# Functions

Flatten executes the provided flatteners Flatten method and wraps the result in a []interface{} which is used by Terraform list or set types.
FlattenFunc executes the provided function and wraps the result in a []interface{} which is used by Terraform list or set types.
FlattenList flattens a List by iterating the List's elements and executing their Flatten method.

# Interfaces

A Flattener is used to flatten data into Terraform's internal representation.
List is used when flattening list or set types into Terraform's internal representation.

# Type aliases

The FlattenerFunc type is an adapter to allow the use of an ordinary function as a Flattener.
FlattenerList is an implementation of List used to flatten []Flattener.