Explore our library of 300+ videos, articles, and guides.
New Learn Platform
Announcing the HashiCorp Learn Platform for Vault.
Join us in building a set of industry-leading open source tools and commercial products.
The types import enables a Sentinel policy to parse an object's type.
Returns the object's type as a string
// Typically the input for this would come from an external source.
main = types.type_of("foo") is "string"