Skip to content

Expect

Name Mandatory Description Default Type
⬅️ Input Input of any type is accepted. Any
Output ➡️ The input value unchanged if it matches the expected type. Any
Type No The type to expect none Type
Unsafe No When set to true, it will skip type comparison. Generally unsafe but it can improve performance. Only set to true if you are certain that the input type matches the expected type. false Bool

Checks if the input value matches the expected type specified by the 'Type' parameter. The shard outputs the input value unchanged if it is of the appropriate type, the shard will trigger an error, preventing further execution. The 'Unsafe' parameter can be set to skip deep type hashing and comparison to improve performance.