Polymorphism
Subtopics
The [is Type]
construct can also be used on any
expression to filter out all the objects that don't
correspond to the specified type (we've already seen it
used with backlinks). Additionally, since the resulting
expression is guaranteed to be of the specified type,
the type-specific links and properties can now be
accessed on it. Try it out with the base type Object
or Content
and narrow it down to Show
(we've only
got one Show
in this tutorial 🙂):
Input
Run
Output Objects
Press the 'Run' button to evaluate the input
Input
Run
Output Objects
Press the 'Run' button to evaluate the input