Type detection: Difference between revisions

Add a task description
(Note on deletion.)
(Add a task description)
Line 2:
{{draft task|FIXME}}
This draft task needs a purpose, a description and some way to tell whether examples satisfy or do not satisfy it.
== Task Description ==
Show a function/procedure that, when given an object of type Any (or just unknown type), performs a common task.
 
For example: you want to process a block of text. The function takes a parameter that is, or somehow describes, the block of text (and provides a method or call to access and return that block of text). The task is then to show how function gets the text from the parameter (but not show the text processing).
 
== JavaScript ==
 
Anonymous user