Skip to content

type

Source

Hook for getting the type of a variable.

Inputs

Name Type Default Required Description
input Any True Any variable input.

Arguments

Position Argument Type
1 input Any

Returns

str

Examples

Simple example.

stuff: things
map:
  stuff: things
stuff_type->: type stuff  # rendered by default
map_type->: type map

stuff: things
map:
  stuff: things
stuff_type: str
map_type: dict