Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

super_type

form a super type from a type

Synopsis

super_type(t: type) -> type

Description

The super_type function returns the super type of t, e.g., super_type(<int64|string>) is <super(int64|string)>. See superfuse for more about super types.

Examples


Form a super type

# spq
values super_type(this)
# input
<int64|string>
# expected output
<super(int64|string)>