Skip to content

Commit 61670fd

Browse files
StartAutomatingStartAutomating
authored andcommitted
Join-PipeScript: Improving Unnamed end block behavior (Fixes #363)
1 parent 562d3a1 commit 61670fd

File tree

1 file changed

+26
-10
lines changed

1 file changed

+26
-10
lines changed

docs/ValidateTypes.md

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,28 @@
11
ValidateTypes
22
-------------
3+
4+
5+
6+
37
### Synopsis
48
Validates if an object is one or more types.
59

10+
11+
612
---
13+
14+
715
### Description
816

917
Validates if an object is one or more types.
1018

1119
This allows for a single parameter to handle multiple potential types.
1220

21+
22+
1323
---
24+
25+
1426
### Examples
1527
#### EXAMPLE 1
1628
```PowerShell
@@ -46,7 +58,11 @@ $In
4658
```
4759
$In
4860
}
61+
62+
4963
---
64+
65+
5066
### Parameters
5167
#### **TypeName**
5268

@@ -56,40 +72,40 @@ TypeNames will be treated first as real types, then as exact matches, then as wi
5672

5773

5874

59-
> **Type**: ```[String[]]```
6075

61-
> **Required**: true
6276

63-
> **Position**: 1
6477

65-
> **PipelineInput**:false
78+
|Type |Required|Position|PipelineInput|
79+
|------------|--------|--------|-------------|
80+
|`[String[]]`|true |1 |false |
6681

6782

6883

69-
---
7084
#### **VariableAST**
7185

7286
The variable that will be validated.
7387

7488

7589

76-
> **Type**: ```[VariableExpressionAst]```
7790

78-
> **Required**: false
7991

80-
> **Position**: named
8192

82-
> **PipelineInput**:true (ByValue)
93+
|Type |Required|Position|PipelineInput |
94+
|-------------------------|--------|--------|--------------|
95+
|`[VariableExpressionAst]`|false |named |true (ByValue)|
96+
97+
8398

8499

85100

86101
---
102+
103+
87104
### Syntax
88105
```PowerShell
89106
ValidateTypes [-TypeName] <String[]> [<CommonParameters>]
90107
```
91108
```PowerShell
92109
ValidateTypes [-TypeName] <String[]> [-VariableAST <VariableExpressionAst>] [<CommonParameters>]
93110
```
94-
---
95111

0 commit comments

Comments
 (0)