/Engine/Source/Editor/UnrealEd/Public/FileHelpers.h
Check out the specified packages from source control and report any errors while checking out
true if all the packages were checked out successfully
static [ECommandResult::Type](API\Developer\SourceControl\ECommandResult__Type) CheckoutPackages ( const [TArray](API\Runtime\Core\Containers\TArray)< [UPackage](API\Runtime\CoreUObject\UObject\UPackage) * > & PkgsToCheckOut, [TArray](API\Runtime\Core\Containers\TArray)< [UPackage](API\Runtime\CoreUObject\UObject\UPackage) * > * OutPackagesCheckedOut, const bool bErrorIfAlreadyCheckedOut, const bool bConfirmPackageBranchCheckOutStatus )