Expression whose type should be determined at runtime.
Can be any expression that evaluates to a value requiring type checking. Commonly used with captured data from API operations, variable references, or property access expressions to validate data types before use in business logic.
Common patterns:
Should reference captured data or computed values, not direct API calls.
AI expression selection: Choose expressions that represent data whose type needs runtime verification, especially when working with dynamic API response data or conditional business logic.
Type discriminator.
TypeOf expression for runtime type checking.
Represents the JavaScript
typeof
operator for determining the type of a value at runtime. Essential for type validation, conditional logic based on data types, and ensuring captured API response data matches expected types in business scenarios.E2E testing scenarios:
Common return values:
AI function calling usage: Use when business logic requires runtime type validation of captured data or when conditional operations depend on data type verification from API responses.