Menu
Values
A Tangram value is a value that can be used as the input or output of a target.
type Value = | undefined | boolean | number | string | Array<tg.Value> | { [key: string]: tg.Value } | tg.Object | Uint8Array | tg.Mutation | tg.Template;
// The arguments to a target must be a subtype of `tg.Value`.export default tg.target((...args: Array<tg.Value>) => { // The output of a target must be a subtype of `tg.Value`. let output: tg.Value; return output;});