docs-v2/content/flux/v0/stdlib/internal/testutil/makeany.md

1.3 KiB

title description menu weight
testutil.makeAny() function `testutil.makeAny()` constructs any value based on a type description as a string.
flux_v0_ref
name parent identifier
testutil.makeAny internal/testutil internal/testutil/makeAny
201

testutil.makeAny() constructs any value based on a type description as a string.

Function type signature
(typ: string) => A

{{% caption %}} For more information, see Function type signatures. {{% /caption %}}

Parameters

typ

({{< req >}}) Description of the type to create.