-
Notifications
You must be signed in to change notification settings - Fork 66
Closed
Labels
LDM Reviewed: No plansLDM has reviewed and this feature is unlikely to move forward in the foreseeable futureLDM has reviewed and this feature is unlikely to move forward in the foreseeable future
Description
In Expression
An In
expression permits a single value (potentially from an expression) to validate if it contained in t a collection like expression.
Syntax InExpr ::= (InKeyword : InKeywordSyntax)(Expr : ExpressionSyntax);
Implicit Parenthesises :- ( In (expr) )
Examples
TypeOf Multiple (#93)
If TypeOf obj Is In { T0, T1, T2 } Then ...
If TypeOf obj IsNot In { T0, T1, T2 } Then ...
With Range Expression (#25)
Dim range = 0 To 10
If value Is In range Then ...
Enum Flags (#228)
If (Color.Red Is In value) OrElse (Color.Blue Is In value) Then ...
If (Color.Red IsNot In value) OrElse (Color.Blue IsNot In value) Then ...
hartmair, WolvenRA and zspitz
Metadata
Metadata
Assignees
Labels
LDM Reviewed: No plansLDM has reviewed and this feature is unlikely to move forward in the foreseeable futureLDM has reviewed and this feature is unlikely to move forward in the foreseeable future