» Import: types

The types import enables a Sentinel policy to parse an object's type.

» types.type_of(obj)

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"