To better understand this feature, below are some examples of how the same block can be used to work with both text and list. There is only one block, but depending on the type of parameter passed to it, it will return a different result. This is the block overload (similar to function overload in programming).
For example, a length of
text block will return the length of a string if a string is passed to it, or the number of elements in the list if it is given a list in a variable.
What is block overload for? With it, you can create new features for your applications. For example, the first example can be used for a game in which you need to make up a word from a random sequence of letters. The second example can be used to create a notebook, and the fourth - for a quiz when learning letters of the alphabet.