functions/internal/filters/FilterAssetPlatforms.ps1

filter FilterAssetPlatforms {
    param(
        [string]$Platform
    )

    if ($PSItem.Platform -eq $Platform) {
        $PSItem
    }
}