Functions/Public/thead.ps1
Function Thead { <# .LINK https://github.com/Stephanevg/PSHTML #> Param( [Parameter( ValueFromPipeline = $true, Mandatory = $false, Position = 0 )] [scriptblock] $ChildItem ) Process{ "<thead>" if($ChildItem){ $ChildItem.Invoke() } '</thead>' } } |