v3.26.1
Consolidated Schedule of Investments
€ in Thousands, $ in Thousands
6 Months Ended 12 Months Ended
Jun. 30, 2026
USD ($)
Dec. 31, 2025
USD ($)
Jun. 30, 2026
EUR (€)
Dec. 31, 2024
USD ($)
Schedule of Investments [Line Items]        
PIK interest rate 12.39%   12.39%  
Investments, amortized cost $ 594,296 $ 607,574    
Investments, fair value $ 569,202 $ 578,649    
Percent of net assets 225.10% 222.70% 225.10%  
Total investments and money market funds amortized cost $ 617,260 $ 628,622    
Total investments and money market funds fair value $ 592,166 $ 599,697    
Total investments and money market funds percentage 234.20% 230.80% 234.20%  
Qualifying assets required of acquiree at time of acquisition of total assets 70.00% 70.00%    
Qualifying assets of acquired of total assets 80.40% 79.40%    
Investments of net assets 225.10% 222.70%    
Investment Of total assets 94.20% 94.10%    
Unrealized appreciation $ 67 $ 2    
Unrealized depreciation   $ (325)    
Investment, Identifier [Axis]: AB Centers Acquisition Corporation First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:AbCentersAcquisitionCorporationMember whfcl:AbCentersAcquisitionCorporationMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Health Care Facilities Health Care Facilities Health Care Facilities  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 0.75% 0.75% 0.75%  
Spread Above Index 5.25% 5.25% 5.25%  
Interest Rate 8.89% 8.97% 8.89%  
Acquisition Date Sep. 19, 2024 Sep. 19, 2024    
Maturity Date Jul. 02, 2031 Jul. 02, 2031 Jul. 02, 2031  
Principal/Share Amount $ 559 $ 408    
Investments, amortized cost 554 405    
Investments, fair value $ 564 $ 409    
Investment, Identifier [Axis]: AB Centers Acquisition Corporation First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:AbCentersAcquisitionCorporationMember whfcl:AbCentersAcquisitionCorporationMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Health Care Facilities Health Care Facilities Health Care Facilities  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 0.75% 0.75% 0.75%  
Spread Above Index 5.25% 5.25% 5.25%  
Interest Rate 8.89% 8.97% 8.89%  
Acquisition Date Sep. 19, 2024 Sep. 19, 2024    
Maturity Date Jul. 02, 2031 Jul. 02, 2031 Jul. 02, 2031  
Investments, fair value $ 8 $ 5    
Investment, Identifier [Axis]: AB Centers Acquisition Corporation First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:AbCentersAcquisitionCorporationMember whfcl:AbCentersAcquisitionCorporationMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Health Care Facilities Health Care Facilities Health Care Facilities  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 0.75% 0.75% 0.75%  
Spread Above Index 5.25% 5.25% 5.25%  
Interest Rate 8.89% 8.97% 8.89%  
Acquisition Date Sep. 19, 2024 Sep. 19, 2024    
Maturity Date Jul. 02, 2031 Jul. 02, 2031 Jul. 02, 2031  
Principal/Share Amount $ 12,976 $ 13,039    
Investments, amortized cost 12,870 12,922    
Investments, fair value $ 12,976 $ 12,973    
Investment, Identifier [Axis]: ABB/Con-cise Optical Group LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:ABBCon-ciseOpticalGroupLLCMember whfcl:ABBCon-ciseOpticalGroupLLCMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Health Care Supplies Health Care Supplies Health Care Supplies  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 0.75% 0.75% 0.75%  
Spread Above Index 7.50% 7.50% 7.50%  
Interest Rate 11.39% 11.34% 11.39%  
Acquisition Date Feb. 23, 2022 Feb. 23, 2022    
Maturity Date Feb. 23, 2028 Feb. 23, 2028 Feb. 23, 2028  
Principal/Share Amount $ 20,409 $ 20,409    
Investments, amortized cost 20,269 20,227    
Investments, fair value $ 20,409 $ 20,026    
Percent of net assets 8.10% 7.70% 8.10%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: APG Lions Purchaser, LLC First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration]   whfcl:ApgLionsPurchaserLlcMember    
Investment, Type [Extensible Enumeration]   whfcl:FirstLienSecuredDelayedDrawLoanMember    
Investment, Issuer Geographic Region [Extensible Enumeration]   srt:NorthAmericaMember    
Investment, Industry Sector [Extensible Enumeration]   Distributors    
Investment, Variable Interest Rate, Type [Extensible Enumeration]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]    
Floor   1.00%    
Spread Above Index   5.50%    
Interest Rate   9.39%    
Acquisition Date   Apr. 26, 2024    
Maturity Date   Apr. 16, 2030    
Investments, fair value   $ 15    
Investment, Identifier [Axis]: APG Lions Purchaser, LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:ApgLionsPurchaserLlcMember whfcl:ApgLionsPurchaserLlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Distributors Distributors Distributors  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.50% 5.50% 5.50%  
Interest Rate 9.18% 9.39% 9.18%  
Acquisition Date Apr. 26, 2024 Apr. 26, 2024    
Maturity Date Apr. 16, 2030 Apr. 16, 2030 Apr. 16, 2030  
Investments, fair value $ 5 $ 6    
Investment, Identifier [Axis]: APG Lions Purchaser, LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:ApgLionsPurchaserLlcMember whfcl:ApgLionsPurchaserLlcMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Distributors Distributors Distributors  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.50% 5.50% 5.50%  
Interest Rate 9.18% 9.39% 9.18%  
Acquisition Date Apr. 26, 2024 Apr. 26, 2024    
Maturity Date Apr. 16, 2030 Apr. 16, 2030 Apr. 16, 2030  
Principal/Share Amount $ 4,008 $ 4,046    
Investments, amortized cost 3,970 4,002    
Investments, fair value $ 4,008 $ 4,046    
Investment, Identifier [Axis]: American Crafts Holdings, LLC, Warrants        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration]   whfcl:AmericanCraftsHoldingsLlcMember    
Investment, Type [Extensible Enumeration]   Warrant [Member]    
Investment, Identifier [Axis]: American Crafts Lc Super Priority First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration]   whfcl:AmericanCraftsLCMember    
Investment, Type [Extensible Enumeration]   whfcl:SuperPriorityFirstLienSecuredTermLoanMember    
Investment, Identifier [Axis]: American Crafts, LC First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration]   whfcl:AmericanCraftsLCMember    
Investment, Type [Extensible Enumeration]   whfcl:FirstLienSecuredDelayedDrawLoanMember    
Investment, Identifier [Axis]: American Crafts, LC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration]   whfcl:AmericanCraftsLCMember    
Investment, Type [Extensible Enumeration]   First Lien Secured Term Loan [Member]    
Investment, Identifier [Axis]: American Crafts, LC Priority First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration]   whfcl:AmericanCraftsLCMember    
Investment, Type [Extensible Enumeration]   whfcl:PriorityFirstLienSecuredLoanMember    
Investment, Identifier [Axis]: American Crafts, LC Super Senior Priority First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration]   whfcl:AmericanCraftsLCMember    
Investment, Type [Extensible Enumeration]   whfcl:SuperSeniorPriorityFirstLienSecuredTermLoanMember    
Investments, fair value       $ 373
Investment, Identifier [Axis]: American Crafts, LC Super Senior Priority First Lien Secured Term Loan one        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration]   whfcl:AmericanCraftsLCMember    
Investment, Type [Extensible Enumeration]   whfcl:SuperSeniorPriorityFirstLienSecuredTermLoanOneMember    
Investment, Identifier [Axis]: Apollon Holdings, LLC (d/b/a Apollon Wealth Management, LLC) First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:ApollonHoldingsLlcMember whfcl:ApollonHoldingsLlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Asset Management & Custody Banks Asset Management & Custody Banks Asset Management & Custody Banks  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Base Rate [Member] Base Rate [Member] Base Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.50% 5.50% 5.50%  
Interest Rate 9.17% 9.33% 9.17%  
Acquisition Date Jul. 21, 2025 Jul. 21, 2025    
Maturity Date Jun. 18, 2032 Jun. 18, 2032 Jun. 18, 2032  
Principal/Share Amount $ 4,849 $ 2,372    
Investments, amortized cost 4,787 2,339    
Investments, fair value $ 4,936 $ 2,442    
Investment, Identifier [Axis]: Apollon Holdings, LLC (d/b/a Apollon Wealth Management, LLC) First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:ApollonHoldingsLlcMember whfcl:ApollonHoldingsLlcMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Asset Management & Custody Banks Asset Management & Custody Banks Asset Management & Custody Banks  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.50% 5.50% 5.50%  
Interest Rate 9.17% 9.37% 9.17%  
Acquisition Date Jul. 21, 2025 Jul. 21, 2025    
Maturity Date Jun. 18, 2032 Jun. 18, 2032 Jun. 18, 2032  
Principal/Share Amount $ 6,600 $ 6,633    
Investments, amortized cost 6,516 6,542    
Investments, fair value $ 6,645 $ 6,632    
Investment, Identifier [Axis]: Arcserve Cayman GP LLC (d/b/a Arcserve (USA), LLC), Common Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:ArcserveCaymanGpLlcMember whfcl:ArcserveCaymanGpLlcMember    
Investment, Type [Extensible Enumeration] whfcl:CommonUnitsMember whfcl:CommonUnitsMember whfcl:CommonUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Systems Software Systems Software Systems Software  
Acquisition Date Jan. 03, 2024 Jan. 03, 2024    
Principal/Share Amount $ 663 $ 663    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Arcserve Cayman Opco LP (d/b/a Arcserve (USA), LLC) First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:ArcserveCaymanOpcoLpMember whfcl:ArcserveCaymanOpcoLpMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Systems Software Systems Software Systems Software  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 8.00% 8.00% 8.00%  
PIK interest rate 11.73% 11.99% 11.73%  
Acquisition Date Jan. 03, 2024 Jan. 03, 2024    
Maturity Date Jan. 04, 2027 Jan. 04, 2027 Jan. 04, 2027  
Principal/Share Amount $ 829 $ 781    
Investments, amortized cost 825 775    
Investments, fair value $ 1,226 $ 1,240   1,247
Percent of net assets 0.50% 0.50% 0.50%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Arcserve Cayman Opco LP (d/b/a Arcserve (USA), LLC) Unsecured Loan One        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:ArcserveCaymanOpcoLpMember whfcl:ArcserveCaymanOpcoLpMember    
Investment, Type [Extensible Enumeration] whfcl:UnsecuredLoanMember whfcl:UnsecuredLoanMember whfcl:UnsecuredLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Systems Software Systems Software Systems Software  
Floor 0.00%   0.00%  
Spread Above Index 9.00% 9.00% 9.00%  
PIK interest rate   9.00%    
PIK interest rate 9.00%   9.00%  
Acquisition Date Jan. 03, 2024 Jan. 03, 2024    
Maturity Date Jul. 02, 2029 Jul. 02, 2029 Jul. 02, 2029  
Principal/Share Amount $ 665 $ 636    
Investments, amortized cost 658 627    
Investments, fair value $ 665 $ 636   581
Percent of net assets 0.30% 0.20% 0.30%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Arcserve Cayman Opco LP (d/b/a Arcserve (USA), LLC) Unsecured Loan Two        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:ArcserveCaymanOpcoLpMember whfcl:ArcserveCaymanOpcoLpMember    
Investment, Type [Extensible Enumeration] whfcl:UnsecuredLoanMember whfcl:UnsecuredLoanMember whfcl:UnsecuredLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Systems Software Systems Software Systems Software  
Floor 0.00%   0.00%  
Spread Above Index 9.00% 9.00% 9.00%  
PIK interest rate   9.00%    
PIK interest rate 9.00%   9.00%  
Acquisition Date Jan. 03, 2024 Jan. 03, 2024    
Maturity Date Jul. 02, 2029 Jul. 02, 2029 Jul. 02, 2029  
Principal/Share Amount $ 680 $ 650    
Investments, amortized cost 673 642    
Investments, fair value $ 680 $ 650   594
Percent of net assets 0.30% 0.30% 0.30%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Arcserve Cayman Topco LP (d/b/a Arcserve (USA), LLC), Common Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:ArcserveCaymanTopcoLpMember whfcl:ArcserveCaymanTopcoLpMember    
Investment, Type [Extensible Enumeration] whfcl:CommonUnitsMember whfcl:CommonUnitsMember whfcl:CommonUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Systems Software Systems Software Systems Software  
Acquisition Date Jan. 03, 2024 Jan. 03, 2024    
Principal/Share Amount $ 663 $ 663    
Investments, amortized cost 19,568 19,568    
Investments, fair value $ 9,149 $ 9,144   9,131
Percent of net assets 3.60% 3.50% 3.60%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Atlas Parent, LLC, Common Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:AtlasParentLlcMember whfcl:AtlasParentLlcMember    
Investment, Type [Extensible Enumeration] whfcl:CommonUnitsMember whfcl:CommonUnitsMember whfcl:CommonUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Application Software Application Software Application Software  
Acquisition Date Oct. 24, 2025 Oct. 24, 2025    
Principal/Share Amount $ 19 $ 19    
Investments, amortized cost 1,682 1,682    
Investments, fair value $ 1,690 $ 1,853    
Percent of net assets 0.70% 0.70% 0.70%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Avision Holdings, LLC (d/b/a Avision Sales Group) First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:AvisionHoldingsLLCMember whfcl:AvisionHoldingsLLCMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Advertising Advertising Advertising  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.00% 6.00% 6.00%  
Interest Rate 9.88% 9.82% 9.88%  
Acquisition Date May 31, 2024 May 31, 2024    
Maturity Date Dec. 15, 2026 Dec. 15, 2026 Dec. 15, 2026  
Principal/Share Amount $ 545 $ 548    
Investments, amortized cost 543 544    
Investments, fair value $ 544 $ 546    
Percent of net assets 0.20% 0.20% 0.20%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Avision Holdings, LLC (d/b/a Avision Sales Group) First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:AvisionHoldingsLLCMember whfcl:AvisionHoldingsLLCMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Advertising Advertising Advertising  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.00% 6.00% 6.00%  
Interest Rate 9.88% 9.82% 9.88%  
Acquisition Date May 31, 2024 May 31, 2024    
Maturity Date Dec. 15, 2026 Dec. 15, 2026 Dec. 15, 2026  
Principal/Share Amount $ 648 $ 652    
Investments, amortized cost 646 647    
Investments, fair value $ 647 $ 650    
Percent of net assets 0.30% 0.30% 0.30%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Avision Holdings, LLC (d/b/a Avision Sales Group), Class A LLC Interests        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:AvisionHoldingsLLCMember whfcl:AvisionHoldingsLLCMember    
Investment, Type [Extensible Enumeration] whfcl:ClassALLCInterestsMember whfcl:ClassALLCInterestsMember whfcl:ClassALLCInterestsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Advertising Advertising Advertising  
Acquisition Date Dec. 15, 2021 Dec. 15, 2021    
Principal/Share Amount $ 319 $ 299    
Investments, amortized cost 319 299    
Investments, fair value $ 297 $ 322    
Percent of net assets 0.10% 0.10% 0.10%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: BBQ Buyer, LLC Shares        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:BBQBuyerLLCMember whfcl:BBQBuyerLLCMember    
Investment, Type [Extensible Enumeration] whfcl:SharesMember Common Stock [Member] whfcl:SharesMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Household Appliances Household Appliances Household Appliances  
Acquisition Date Aug. 28, 2020 Aug. 28, 2020    
Principal/Share Amount $ 1,100 $ 1,100    
Investments, amortized cost 1,100 1,100    
Investments, fair value $ 911 $ 1,003    
Percent of net assets 0.40% 0.40% 0.40%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: BL Products Parent, LP (d/b/a Bishop Lifting Products, Inc.) Class A Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:BLProductsParentLPMember whfcl:BLProductsParentLPMember    
Investment, Type [Extensible Enumeration] whfcl:ClassAUnitsMember whfcl:ClassAUnitsMember whfcl:ClassAUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Industrial Machinery & Supplies & Components Industrial Machinery & Supplies & Components Industrial Machinery & Supplies & Components  
Acquisition Date Feb. 01, 2022 Feb. 01, 2022    
Principal/Share Amount $ 733 $ 733    
Investments, amortized cost 788 788    
Investments, fair value $ 344 $ 561    
Percent of net assets 0.10% 0.20% 0.10%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: BPII-JL Group Holdings LP (d/b/a Juniper Landscaping Holdings LLC) Class A Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:BPII-JLGroupHoldingsLPMember whfcl:BPII-JLGroupHoldingsLPMember    
Investment, Type [Extensible Enumeration] whfcl:ClassAUnitsMember whfcl:ClassAUnitsMember whfcl:ClassAUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Environmental & Facilities Services Environmental & Facilities Services Environmental & Facilities Services  
Acquisition Date Dec. 29, 2021 Dec. 29, 2021    
Principal/Share Amount $ 90 $ 90    
Investments, amortized cost 942 942    
Investments, fair value $ 1,577 $ 1,645    
Percent of net assets 0.60% 0.60% 0.60%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: BUSA Acquisition Co. (d/b/a BankCard USA Merchant Services Inc.) First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Busa Acquisition Co BankCard Usa Merchant Services Inc [Member] Busa Acquisition Co BankCard Usa Merchant Services Inc [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Transaction & Payment Processing Services Transaction & Payment Processing Services Transaction & Payment Processing Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Six Month Term [Member] Secured Overnight Financing Rate (SOFR) Six Month Term [Member] Secured Overnight Financing Rate (SOFR) Six Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.50% 6.50% 6.50%  
Interest Rate 10.37% 10.34% 10.37%  
Acquisition Date Apr. 04, 2024 Apr. 04, 2024    
Maturity Date Apr. 10, 2029 Mar. 30, 2029 Apr. 10, 2029  
Principal/Share Amount $ 276 $ 276    
Investments, amortized cost 271 270    
Investments, fair value $ 283 $ 283    
Percent of net assets 0.10% 0.10% 0.10%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: BUSA Acquisition Co. (d/b/a BankCard USA Merchant Services Inc.) First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Busa Acquisition Co BankCard Usa Merchant Services Inc [Member] Busa Acquisition Co BankCard Usa Merchant Services Inc [Member]    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Transaction & Payment Processing Services Transaction & Payment Processing Services Transaction & Payment Processing Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Six Month Term [Member] Secured Overnight Financing Rate (SOFR) Six Month Term [Member] Secured Overnight Financing Rate (SOFR) Six Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.50% 6.50% 6.50%  
Interest Rate 10.19% 10.29% 10.19%  
Acquisition Date Apr. 04, 2024 Apr. 04, 2024    
Maturity Date Apr. 10, 2029 Mar. 30, 2029 Apr. 10, 2029  
Principal/Share Amount $ 7,116 $ 7,374    
Investments, amortized cost 6,998 7,231    
Investments, fair value $ 7,092 $ 7,331    
Percent of net assets 2.80% 2.80% 2.80%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Banner Acquisition Holdings, LLC First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:BannerAcquisitionHoldingsLLCMember whfcl:BannerAcquisitionHoldingsLLCMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Construction & Engineering Construction & Engineering Construction & Engineering  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.25% 6.25% 6.25%  
Interest Rate 9.91% 10.07% 9.91%  
Acquisition Date Dec. 21, 2023 Dec. 21, 2023    
Maturity Date Jan. 02, 2029 Jan. 02, 2029 Jan. 02, 2029  
Principal/Share Amount $ 1,848 $ 1,873    
Investments, amortized cost 1,825 1,845    
Investments, fair value $ 1,848 $ 1,766    
Investment, Identifier [Axis]: Banner Acquisition Holdings, LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:BannerAcquisitionHoldingsLLCMember whfcl:BannerAcquisitionHoldingsLLCMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Construction & Engineering Construction & Engineering Construction & Engineering  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Base Rate [Member] Base Rate [Member] Base Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.25% 6.25% 6.25%  
Interest Rate 9.91% 10.07% 9.91%  
Acquisition Date Dec. 21, 2023 Dec. 21, 2023    
Maturity Date Jan. 02, 2029 Jan. 02, 2029 Jan. 02, 2029  
Principal/Share Amount $ 168 $ 168    
Investments, amortized cost 166 166    
Investments, fair value $ 180 $ 118    
Investment, Identifier [Axis]: Banner Acquisition Holdings, LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:BannerAcquisitionHoldingsLLCMember whfcl:BannerAcquisitionHoldingsLLCMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Construction & Engineering Construction & Engineering Construction & Engineering  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.25% 6.25% 6.25%  
Interest Rate 9.91% 10.07% 9.91%  
Acquisition Date Dec. 21, 2023 Dec. 21, 2023    
Maturity Date Jan. 02, 2029 Jan. 02, 2029 Jan. 02, 2029  
Principal/Share Amount $ 2,917 $ 2,956    
Investments, amortized cost 2,881 2,912    
Investments, fair value $ 2,917 $ 2,787    
Investment, Identifier [Axis]: Barrett Purchaser LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:BarrettPurchaserLlcMember whfcl:BarrettPurchaserLlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Research & Consulting Services Research & Consulting Services Research & Consulting Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Base Rate [Member] Base Rate [Member] Base Rate [Member]  
Floor 0.75% 0.75% 0.75%  
Spread Above Index 6.00% 5.92% 6.00%  
Interest Rate 9.68% 10.02% 9.68%  
Acquisition Date Jan. 10, 2024 Jan. 10, 2024    
Maturity Date Nov. 21, 2028 Nov. 21, 2028 Nov. 21, 2028  
Principal/Share Amount $ 447 $ 373    
Investments, amortized cost 442 367    
Investments, fair value $ 439 $ 366    
Investment, Identifier [Axis]: Barrett Purchaser LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:BarrettPurchaserLlcMember whfcl:BarrettPurchaserLlcMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Research & Consulting Services Research & Consulting Services Research & Consulting Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 0.75% 0.75% 0.75%  
Spread Above Index 6.00% 6.00% 6.00%  
Interest Rate 9.67% 9.82% 9.67%  
Acquisition Date Jan. 10, 2024 Jan. 10, 2024    
Maturity Date Nov. 21, 2029 Nov. 21, 2029 Nov. 21, 2029  
Principal/Share Amount $ 3,562 $ 3,580    
Investments, amortized cost 3,512 3,523    
Investments, fair value $ 3,480 $ 3,493    
Investment, Identifier [Axis]: Buckeye Acquiror LLC (d/b/a Superior Environmental Solutions, LLC) First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration]   Non-controlled/non-affiliate company investments    
Investment, Issuer Name [Extensible Enumeration]   whfcl:BuckeyeAcquirorLlcMember    
Investment, Type [Extensible Enumeration]   whfcl:FirstLienSecuredDelayedDrawLoanMember    
Investment, Issuer Geographic Region [Extensible Enumeration]   srt:NorthAmericaMember    
Investment, Industry Sector [Extensible Enumeration]   Environmental & Facilities Services    
Investment, Variable Interest Rate, Type [Extensible Enumeration]   Secured Overnight Financing Rate (SOFR) One Month Term [Member]    
Floor   1.00%    
Spread Above Index   6.50%    
Interest Rate   10.32%    
Acquisition Date   Dec. 17, 2025    
Maturity Date   Aug. 01, 2029    
Investment, Restriction Status [true false]   true    
Investment, Significant Unobservable Input [true false]   true    
Investment, Non-income Producing [true false]   false    
Investment, Identifier [Axis]: Buckeye Acquiror LLC First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:BuckeyeAcquirorLlcMember whfcl:BuckeyeAcquirorLlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Environmental & Facilities Services Environmental & Facilities Services Environmental & Facilities Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.42% 6.44% 6.42%  
Interest Rate 8.28% 10.26% 8.28%  
Acquisition Date Aug. 09, 2023 Aug. 09, 2023    
Maturity Date Aug. 01, 2029 Aug. 01, 2029 Aug. 01, 2029  
Principal/Share Amount $ 2,405 $ 2,319    
Investments, amortized cost 2,371 2,281    
Investments, fair value $ 2,406 $ 2,323    
Investment, Identifier [Axis]: Buckeye Acquiror LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:BuckeyeAcquirorLlcMember whfcl:BuckeyeAcquirorLlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Environmental & Facilities Services Environmental & Facilities Services Environmental & Facilities Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Base Rate [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Base Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.50% 6.50% 6.50%  
Interest Rate 10.24% 10.32% 10.24%  
Acquisition Date Aug. 09, 2023 Aug. 09, 2023    
Maturity Date Aug. 01, 2029 Aug. 01, 2029 Aug. 01, 2029  
Principal/Share Amount $ 643 $ 370    
Investments, amortized cost 635 365    
Investments, fair value $ 648 $ 379    
Investment, Identifier [Axis]: Buckeye Acquiror LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:BuckeyeAcquirorLlcMember whfcl:BuckeyeAcquirorLlcMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Environmental & Facilities Services Environmental & Facilities Services Environmental & Facilities Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.42% 6.42% 6.42%  
Interest Rate 10.16% 10.23% 10.16%  
Acquisition Date Aug. 09, 2023 Aug. 09, 2023    
Maturity Date Aug. 01, 2029 Aug. 01, 2029 Aug. 01, 2029  
Principal/Share Amount $ 6,799 $ 6,834    
Investments, amortized cost 6,713 6,733    
Investments, fair value $ 6,795 $ 6,834    
Investment, Identifier [Axis]: CX Holdco LLC Common Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:CXHoldcoLLCMember whfcl:CXHoldcoLLCMember    
Investment, Type [Extensible Enumeration] whfcl:CommonUnitsMember whfcl:CommonUnitsMember whfcl:CommonUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] IT Consulting And Other Services IT Consulting And Other Services IT Consulting And Other Services  
Acquisition Date May 04, 2021 May 04, 2021    
Principal/Share Amount $ 1,068 $ 1,068    
Investments, amortized cost $ 1,116 1,116    
Investments, fair value   $ 218    
Percent of net assets   0.10%    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Camarillo Fitness Holdings, LLC First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Camarillo Fitness Holdings, LLC [Member] Camarillo Fitness Holdings, LLC [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Leisure Facilities Leisure Facilities Leisure Facilities  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Six Month Term [Member] Secured Overnight Financing Rate (SOFR) Six Month Term [Member] Secured Overnight Financing Rate (SOFR) Six Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 8.50% 8.50% 8.50%  
PIK interest rate   12.83%    
Acquisition Date Jan. 10, 2025 Jan. 10, 2025    
Maturity Date Sep. 25, 2029 Sep. 25, 2029 Sep. 25, 2029  
Principal/Share Amount $ 1,380 $ 1,218    
Investments, amortized cost 1,216 1,135    
Investments, fair value $ 249 $ 196    
Percent of net assets 0.10% 0.10% 0.10%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Camarillo Fitness Holdings, LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Camarillo Fitness Holdings, LLC [Member] Camarillo Fitness Holdings, LLC [Member]    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Leisure Facilities Leisure Facilities Leisure Facilities  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 8.50% 8.50% 8.50%  
PIK interest rate 12.38% 12.32% 12.38%  
Acquisition Date Sep. 25, 2024 Sep. 25, 2024    
Maturity Date Sep. 25, 2029 Sep. 25, 2029 Sep. 25, 2029  
Principal/Share Amount $ 14,213 $ 13,370    
Investments, amortized cost 10,231 10,231    
Investments, fair value $ 2,563 $ 5,354   10,492
Percent of net assets 1.00% 2.10% 1.00%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Camp Facility Services Holdings, LLC (d/b/a Camp Construction Services, Inc.) First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:CampFacilityServicesHoldingsLLCMember whfcl:CampFacilityServicesHoldingsLLCMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Real Estate Services [Member] Real Estate Services [Member] Real Estate Services [Member]  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.50% 6.50% 6.50%  
Interest Rate 10.24% 10.32% 10.24%  
Acquisition Date Nov. 16, 2021 Nov. 16, 2021    
Maturity Date Nov. 16, 2028 Nov. 16, 2027 Nov. 16, 2028  
Principal/Share Amount $ 10,197 $ 10,294    
Investments, amortized cost 10,147 10,230    
Investments, fair value $ 9,380 $ 9,781    
Percent of net assets 3.70% 3.80% 3.70%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Camp Facility Services Parent, LLC Preferred Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:CampFacilityServicesParentLLCMember whfcl:CampFacilityServicesParentLLCMember    
Investment, Type [Extensible Enumeration] whfcl:PreferredUnitsMember whfcl:PreferredUnitsMember whfcl:PreferredUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Real Estate Services [Member] Real Estate Services [Member] Real Estate Services [Member]  
Spread Above Index 10.00% 10.00% 10.00%  
PIK interest rate 10.00% 10.00% 10.00%  
Acquisition Date Nov. 16, 2021 Nov. 16, 2021    
Principal/Share Amount $ 15 $ 15    
Investments, amortized cost $ 840 840    
Investments, fair value   $ 31    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false true false  
Investment, Identifier [Axis]: Cennox Holdings Limited, First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:CennoxHoldingsLimitedMember whfcl:CennoxHoldingsLimitedMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] IT Consulting And Other Services IT Consulting And Other Services IT Consulting And Other Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Solar Holdings Bidco Limited First Lien Secured Term Loan SONIA [Member] Sterling Overnight Index Average [Member] Solar Holdings Bidco Limited First Lien Secured Term Loan SONIA [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.75% 6.75% 6.75%  
Interest Rate 10.60% 10.59% 10.60%  
Cash interest rate 10.35% 10.34% 10.35%  
PIK interest rate 0.25% 0.25% 0.25%  
Acquisition Date Sep. 11, 2024 Sep. 11, 2024    
Maturity Date May 04, 2029 May 04, 2029 May 04, 2029  
Principal/Share Amount $ 167 $ 158    
Investments, amortized cost 217 206    
Investments, fair value $ 206 $ 205    
Investment, Identifier [Axis]: Cennox Holdings Limited, First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:CennoxHoldingsLimitedMember whfcl:CennoxHoldingsLimitedMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] IT Consulting And Other Services IT Consulting And Other Services IT Consulting And Other Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Solar Holdings Bidco Limited First Lien Secured Term Loan SONIA [Member] Sterling Overnight Index Average [Member] Solar Holdings Bidco Limited First Lien Secured Term Loan SONIA [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.75% 6.65% 6.75%  
Interest Rate 10.60% 10.59% 10.60%  
Cash interest rate 10.35% 10.34% 10.35%  
PIK interest rate 0.25% 0.25% 0.25%  
Acquisition Date Sep. 11, 2024 Sep. 11, 2024    
Maturity Date May 04, 2029 May 04, 2029 May 04, 2029  
Principal/Share Amount $ 546 $ 553    
Investments, amortized cost 712 721    
Investments, fair value $ 673 $ 717    
Investment, Identifier [Axis]: Cennox, Inc, First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:CennoxInc.Member whfcl:CennoxInc.Member    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] IT Consulting And Other Services IT Consulting And Other Services IT Consulting And Other Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Base Rate [Member] Base Rate [Member] Base Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.75% 6.75% 6.75%  
Interest Rate 10.56% 10.60% 10.56%  
Cash interest rate 10.31% 10.35% 10.31%  
PIK interest rate 0.25% 0.25% 0.25%  
Acquisition Date Sep. 11, 2024 Sep. 11, 2024    
Maturity Date May 04, 2029 May 04, 2029 May 04, 2029  
Principal/Share Amount $ 142 $ 134    
Investments, amortized cost 142 133    
Investments, fair value $ 132 $ 129    
Investment, Identifier [Axis]: Cennox, Inc, First Lien Secured Term Loan One        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:CennoxInc.Member whfcl:CennoxInc.Member    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] IT Consulting And Other Services IT Consulting And Other Services IT Consulting And Other Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Euro Interbank Offered Rate Six Month Term [Member] Euro Interbank Offered Rate Six Month Term [Member] Euro Interbank Offered Rate Six Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 7.00% 7.00% 7.00%  
Interest Rate 9.14% 9.07% 9.14%  
Cash interest rate 8.89% 8.82% 8.89%  
PIK interest rate 0.25% 0.25% 0.25%  
Acquisition Date Sep. 11, 2024 Sep. 11, 2024    
Maturity Date May 04, 2029 May 04, 2029 May 04, 2029  
Principal/Share Amount   $ 616 € 617  
Investments, amortized cost $ 678 676    
Investments, fair value $ 663 $ 694    
Investment, Identifier [Axis]: Cennox, Inc. First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:CennoxInc.Member whfcl:CennoxInc.Member    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] IT Consulting And Other Services IT Consulting And Other Services IT Consulting And Other Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Six Month Term [Member] Secured Overnight Financing Rate (SOFR) Six Month Term [Member] Secured Overnight Financing Rate (SOFR) Six Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.75% 6.75% 6.75%  
Interest Rate 10.48% 10.89% 10.48%  
Cash interest rate 10.23% 10.64% 10.23%  
PIK interest rate 0.25% 0.25% 0.25%  
Acquisition Date Sep. 11, 2024 Sep. 11, 2024    
Maturity Date May 04, 2029 May 04, 2029 May 04, 2029  
Principal/Share Amount $ 3,506 $ 3,508    
Investments, amortized cost 3,485 3,485    
Investments, fair value $ 3,259 $ 3,369    
Investment, Identifier [Axis]: Chase Products Co. (f/k/a Starco) Second Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] us-gaap:InvestmentAffiliatedIssuerMember Non-controlled/non-affiliate company investments us-gaap:InvestmentAffiliatedIssuerMember  
Investment, Issuer Name [Extensible Enumeration] whfcl:ChaseProductsCoMember whfcl:ChaseProductsCoMember    
Investment, Type [Extensible Enumeration] whfcl:SecondLienSecuredTermLoanMember whfcl:SecondLienSecuredTermLoanMember whfcl:SecondLienSecuredTermLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Diversified Chemicals Diversified Chemicals Diversified Chemicals  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.50% 5.50% 5.50%  
Interest Rate 9.23% 9.17% 9.23%  
Cash interest rate   8.99%    
PIK interest rate   0.18%    
Acquisition Date Mar. 16, 2023 Mar. 16, 2023    
Maturity Date Mar. 16, 2028 Mar. 16, 2028 Mar. 16, 2028  
Principal/Share Amount $ 3,404 $ 3,404    
Investments, amortized cost 3,404 3,404    
Investments, fair value $ 3,404 $ 3,404   3,342
Percent of net assets 1.30% 1.30% 1.30%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Claridge Products and Equipment, LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:ClaridgeProductsandEquipmentLLCMember whfcl:ClaridgeProductsandEquipmentLLCMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Office Services & Supplies Office Services & Supplies Office Services & Supplies  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Base Rate [Member] Base Rate [Member] Base Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 7.56% 8.38% 7.56%  
Interest Rate 12.64% 13.54% 12.64%  
Cash interest rate 8.44% 9.11% 8.44%  
PIK interest rate 4.20% 4.19% 4.20%  
Acquisition Date Dec. 30, 2020 Dec. 30, 2020    
Maturity Date Mar. 31, 2027 Mar. 31, 2027 Mar. 31, 2027  
Principal/Share Amount $ 632 $ 561    
Investments, amortized cost 632 561    
Investments, fair value $ 618 $ 498    
Percent of net assets 0.20% 0.20% 0.20%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Claridge Products and Equipment, LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:ClaridgeProductsandEquipmentLLCMember whfcl:ClaridgeProductsandEquipmentLLCMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Office Services & Supplies Office Services & Supplies Office Services & Supplies  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 8.00% 8.75% 8.00%  
Interest Rate 11.74% 12.57% 11.74%  
Cash interest rate 7.74% 8.19% 7.74%  
PIK interest rate 4.00% 4.38% 4.00%  
Acquisition Date Dec. 30, 2020 Dec. 30, 2020    
Maturity Date Mar. 31, 2027 Mar. 31, 2027 Mar. 31, 2027  
Principal/Share Amount $ 5,246 $ 5,124    
Investments, amortized cost 5,245 5,123    
Investments, fair value $ 5,142 $ 4,661    
Percent of net assets 2.10% 1.80% 2.10%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Clark Restaurant Service, LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments   Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:ClarkRestaurantServiceLlcMember whfcl:ClarkRestaurantServiceLlcMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Food Distributors Food Distributors Food Distributors  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.75% 5.75% 5.75%  
Interest Rate 9.38% 9.47% 9.38%  
Acquisition Date Feb. 13, 2026 Jun. 14, 2024    
Maturity Date May 10, 2029 May 10, 2029 May 10, 2029  
Principal/Share Amount $ 219 $ 4,956    
Investments, amortized cost 215 4,889    
Investments, fair value $ 218 $ 4,928    
Percent of net assets 0.10%   0.10%  
Investment, Restriction Status [true false] true   true  
Investment, Significant Unobservable Input [true false] true   true  
Investment, Non-income Producing [true false] false   false  
Investment, Identifier [Axis]: Clark Restaurant Service, LLC First Lien Secured Term Loan, One        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:ClarkRestaurantServiceLlcMember      
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member]   First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Food Distributors   Food Distributors  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member]   Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00%   1.00%  
Spread Above Index 5.75%   5.75%  
Interest Rate 9.39%   9.39%  
Acquisition Date Jun. 14, 2024      
Maturity Date May 10, 2029   May 10, 2029  
Principal/Share Amount $ 4,896      
Investments, amortized cost 4,839      
Investments, fair value $ 4,877      
Investment, Identifier [Axis]: Colonnade Parent, Inc. (d/b/a Naviga Inc.) First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:ColonnadeParentIncMember whfcl:ColonnadeParentIncMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Air Freight & Logistics Application Software Air Freight & Logistics  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 1.00% 1.00% 1.00%  
Interest Rate 4.83% 4.77% 4.83%  
Acquisition Date Jun. 14, 2019 Jun. 14, 2019    
Maturity Date Sep. 30, 2026 Sep. 30, 2026 Sep. 30, 2026  
Principal/Share Amount $ 301 $ 301    
Investments, amortized cost 279 287    
Investments, fair value $ 159 $ 158    
Percent of net assets 0.10% 0.10% 0.10%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Colonnade Parent, Inc. (d/b/a Naviga Inc.) First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:ColonnadeParentIncMember whfcl:ColonnadeParentIncMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Air Freight & Logistics Application Software Air Freight & Logistics  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 1.00% 1.00% 1.00%  
Interest Rate 4.83% 4.77% 4.83%  
Acquisition Date Jun. 14, 2019 Jun. 14, 2019    
Maturity Date Sep. 30, 2026 Sep. 30, 2026 Sep. 30, 2026  
Principal/Share Amount $ 3,644 $ 3,667    
Investments, amortized cost 2,883 2,988    
Investments, fair value $ 1,920 $ 1,925    
Percent of net assets 0.80% 0.70% 0.80%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Cultural Experiences Abroad, LLC (d/b/a Cultural Experiences Abroad, Inc.) First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments   Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:CulturalExperiencesAbroadLlcMember      
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember   whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Education Services   Education Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00%   1.00%  
Spread Above Index 5.86%   5.86%  
Interest Rate 10.00%   10.00%  
Acquisition Date Jan. 21, 2026      
Maturity Date Jan. 21, 2032   Jan. 21, 2032  
Principal/Share Amount $ 1,044      
Investments, amortized cost 1,030      
Investments, fair value $ 1,032      
Percent of net assets 0.40%   0.40%  
Investment, Restriction Status [true false] true   true  
Investment, Significant Unobservable Input [true false] true   true  
Investment, Non-income Producing [true false] false   false  
Investment, Identifier [Axis]: Cultural Experiences Abroad, LLC (d/b/a Cultural Experiences Abroad, Inc.) First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments   Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:CulturalExperiencesAbroadLlcMember      
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member]   First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Education Services   Education Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00%   1.00%  
Spread Above Index 6.00%   6.00%  
Interest Rate 9.73%   9.73%  
Acquisition Date Jan. 21, 2026      
Maturity Date Jan. 21, 2032   Jan. 21, 2032  
Principal/Share Amount $ 9,485      
Investments, amortized cost 9,353      
Investments, fair value $ 9,365      
Percent of net assets 3.70%   3.70%  
Investment, Restriction Status [true false] true   true  
Investment, Significant Unobservable Input [true false] true   true  
Investment, Non-income Producing [true false] false   false  
Investment, Identifier [Axis]: Drew Foam Companies Inc First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:DrewFoamCompaniesIncMember whfcl:DrewFoamCompaniesIncMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Building Products Building Products Building Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.00% 6.00% 6.00%  
Interest Rate 9.74% 9.82% 9.74%  
Acquisition Date Nov. 09, 2020 Nov. 09, 2020    
Maturity Date Dec. 05, 2028 Dec. 07, 2026 Dec. 05, 2028  
Principal/Share Amount $ 13,287 $ 13,358    
Investments, amortized cost 13,270 13,331    
Investments, fair value $ 13,245 $ 13,314    
Investment, Identifier [Axis]: ELM DebtCo, LLC, First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:ElmDebtcoLlcMember whfcl:ElmDebtcoLlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Multi-Utilities [Member] Multi-Utilities [Member] Multi-Utilities [Member]  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 4.50% 4.75% 4.50%  
Interest Rate 8.23% 8.42% 8.23%  
Acquisition Date Nov. 20, 2025 Nov. 20, 2025    
Maturity Date Nov. 14, 2031 Nov. 14, 2031 Nov. 14, 2031  
Investments, fair value $ 6      
Investment, Identifier [Axis]: ELM DebtCo, LLC, First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:ElmDebtcoLlcMember whfcl:ElmDebtcoLlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Multi-Utilities [Member] Multi-Utilities [Member] Multi-Utilities [Member]  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Base Rate [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Base Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 3.50% 4.75% 3.50%  
Interest Rate 10.25% 8.42% 10.25%  
Acquisition Date Nov. 20, 2025 Nov. 20, 2025    
Maturity Date Nov. 14, 2031 Nov. 14, 2031 Nov. 14, 2031  
Principal/Share Amount $ 126      
Investments, amortized cost 125      
Investments, fair value $ 136      
Investment, Identifier [Axis]: ELM DebtCo, LLC, First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:ElmDebtcoLlcMember whfcl:ElmDebtcoLlcMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Multi-Utilities [Member] Multi-Utilities [Member] Multi-Utilities [Member]  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 4.50% 4.75% 4.50%  
Interest Rate 8.23% 8.42% 8.23%  
Acquisition Date Nov. 20, 2025 Nov. 20, 2025    
Maturity Date Nov. 14, 2031 Nov. 14, 2031 Nov. 14, 2031  
Principal/Share Amount $ 5,515 $ 5,543    
Investments, amortized cost 5,465 5,488    
Investments, fair value $ 5,515 $ 5,488    
Investment, Identifier [Axis]: Eddy Acquisitions, LLC (d/b/a EducationDynamics, LLC) Preferred Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:EddyAcquisitionsLLCMember whfcl:EddyAcquisitionsLLCMember    
Investment, Type [Extensible Enumeration] whfcl:PreferredUnitsMember whfcl:PreferredUnitsMember whfcl:PreferredUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Advertising Advertising Advertising  
Spread Above Index 12.00% 12.00% 12.00%  
Interest Rate 12.00% 12.00% 12.00%  
Acquisition Date Sep. 15, 2021 Sep. 15, 2021    
Principal/Share Amount $ 167 $ 167    
Investments, amortized cost $ 167 $ 167    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false true false  
Investment, Identifier [Axis]: Education Dynamics, LLC Senior Preferred Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:EducationDynamicsLLCMember whfcl:EducationDynamicsLLCMember    
Investment, Type [Extensible Enumeration] whfcl:SeniorPreferredUnitsMember whfcl:SeniorPreferredUnitsMember whfcl:SeniorPreferredUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Advertising Advertising Advertising  
Acquisition Date Sep. 15, 2021 Sep. 15, 2021    
Principal/Share Amount $ 167 $ 167    
Investments, amortized cost 167 $ 167    
Investments, fair value $ 61      
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: EducationDynamics, LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:EducationDynamicsLLCMember whfcl:EducationDynamicsLLCMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Advertising Advertising Advertising  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Prime Rate [Member] Prime Rate [Member] Prime Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.50% 5.50% 5.50%  
Interest Rate 12.25% 12.25% 12.25%  
Acquisition Date Sep. 15, 2021 Sep. 15, 2021    
Maturity Date Sep. 15, 2027 Sep. 15, 2027 Sep. 15, 2027  
Principal/Share Amount $ 540 $ 360    
Investments, amortized cost 538 358    
Investments, fair value $ 542 $ 320    
Percent of net assets 0.20% 0.10% 0.20%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: EducationDynamics, LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:EducationDynamicsLLCMember whfcl:EducationDynamicsLLCMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Advertising Advertising Advertising  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Base Rate [Member] Base Rate [Member] Base Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.50% 6.50% 6.50%  
Interest Rate 10.25% 10.32% 10.25%  
Acquisition Date Sep. 15, 2021 Sep. 15, 2021    
Maturity Date Sep. 15, 2027 Sep. 15, 2027 Sep. 15, 2027  
Principal/Share Amount $ 12,564 $ 12,592    
Investments, amortized cost 12,522 12,532    
Investments, fair value $ 12,564 $ 12,137    
Percent of net assets 5.00% 4.70% 5.00%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Empire amp; Co Inc. (d/b/a Empire Office, Inc.), First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments   Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:EmpireOfficeIncMember      
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member]   First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Office Services & Supplies   Office Services & Supplies  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member]   Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00%   1.00%  
Spread Above Index 6.00%   6.00%  
Interest Rate 9.64%   9.64%  
Acquisition Date Jun. 01, 2026      
Maturity Date May 30, 2031   May 30, 2031  
Principal/Share Amount $ 10,326      
Investments, amortized cost 10,123      
Investments, fair value $ 10,120      
Percent of net assets 4.00%   4.00%  
Investment, Restriction Status [true false] true   true  
Investment, Significant Unobservable Input [true false] true   true  
Investment, Non-income Producing [true false] false   false  
Investment, Identifier [Axis]: FloWorks International LLC, First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:FloworksInternationalLlcMember whfcl:FloworksInternationalLlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Trading Companies And Distributors [Member] Trading Companies And Distributors [Member] Trading Companies And Distributors [Member]  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 0.75% 0.75% 0.75%  
Spread Above Index 4.75% 4.75% 4.75%  
Interest Rate 8.41% 8.57% 8.41%  
Acquisition Date Dec. 12, 2024 Dec. 12, 2024    
Maturity Date Nov. 26, 2031 Nov. 26, 2031 Nov. 26, 2031  
Principal/Share Amount $ 665 $ 667    
Investments, amortized cost 659 661    
Investments, fair value $ 665 $ 663    
Investment, Identifier [Axis]: FloWorks International LLC, First Lien Secured Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:FloworksInternationalLlcMember whfcl:FloworksInternationalLlcMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Trading Companies And Distributors [Member] Trading Companies And Distributors [Member] Trading Companies And Distributors [Member]  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 0.75% 0.75% 0.75%  
Spread Above Index 4.75% 4.75% 4.75%  
Interest Rate 8.41% 8.57% 8.41%  
Acquisition Date Dec. 12, 2024 Dec. 12, 2024    
Maturity Date Nov. 26, 2031 Nov. 26, 2031 Nov. 26, 2031  
Principal/Share Amount $ 5,267 $ 5,293    
Investments, amortized cost 5,226 5,248    
Investments, fair value $ 5,267 $ 5,262    
Investment, Identifier [Axis]: Forward Solutions, LLC First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:ForwardSolutionsLlcMember whfcl:ForwardSolutionsLlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Advertising Advertising Advertising  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.75% 6.75% 6.75%  
Interest Rate 10.63% 10.57% 10.63%  
Acquisition Date Mar. 11, 2022 Mar. 11, 2022    
Maturity Date Dec. 15, 2026 Dec. 15, 2026 Dec. 15, 2026  
Principal/Share Amount $ 2,977 $ 2,993    
Investments, amortized cost 2,972 2,981    
Investments, fair value $ 2,977 $ 2,993    
Investment, Identifier [Axis]: Forward Solutions, LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:ForwardSolutionsLlcMember whfcl:ForwardSolutionsLlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Advertising Advertising Advertising  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.75% 6.75% 6.75%  
Interest Rate 10.63% 10.69% 10.63%  
Acquisition Date Feb. 18, 2022 Feb. 18, 2022    
Maturity Date Dec. 15, 2026 Dec. 15, 2026 Dec. 15, 2026  
Principal/Share Amount $ 173 $ 619    
Investments, amortized cost 173 617    
Investments, fair value $ 174 $ 619    
Investment, Identifier [Axis]: Forward Solutions, LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:ForwardSolutionsLlcMember whfcl:ForwardSolutionsLlcMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Advertising Advertising Advertising  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.75% 6.75% 6.75%  
Interest Rate 10.63% 10.57% 10.63%  
Acquisition Date Feb. 18, 2022 Feb. 18, 2022    
Maturity Date Dec. 15, 2026 Dec. 15, 2026 Dec. 15, 2026  
Principal/Share Amount $ 8,868 $ 8,914    
Investments, amortized cost 8,852 8,880    
Investments, fair value $ 8,868 $ 8,914    
Investment, Identifier [Axis]: Four Winds Health, LLC First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Four Winds Health, LLC [Member] Four Winds Health, LLC [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Health Care Facilities Health Care Facilities Health Care Facilities  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.75% 7.00% 6.75%  
Interest Rate 10.48% 10.67% 10.48%  
Acquisition Date Jul. 31, 2025 Jul. 31, 2025    
Maturity Date Jul. 31, 2029 Jul. 31, 2029 Jul. 31, 2029  
Principal/Share Amount $ 498 $ 250    
Investments, amortized cost 493 248    
Investments, fair value $ 527 $ 272    
Percent of net assets 0.20% 0.10% 0.20%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Four Winds Health, LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Four Winds Health, LLC [Member] Four Winds Health, LLC [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Health Care Facilities Health Care Facilities Health Care Facilities  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.75% 7.00% 6.75%  
Interest Rate 10.48% 10.67% 10.48%  
Acquisition Date Jul. 31, 2025 Jul. 31, 2025    
Maturity Date Jul. 31, 2029 Jul. 31, 2029 Jul. 31, 2029  
Investments, fair value $ 10 $ 8    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Four Winds Health, LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Four Winds Health, LLC [Member] Four Winds Health, LLC [Member]    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Health Care Facilities Health Care Facilities Health Care Facilities  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.75% 7.00% 6.75%  
Interest Rate 10.48% 10.67% 10.48%  
Acquisition Date Jul. 31, 2025 Jul. 31, 2025    
Maturity Date Jul. 31, 2029 Jul. 31, 2029 Jul. 31, 2029  
Principal/Share Amount $ 4,342 $ 4,364    
Investments, amortized cost 4,275 4,286    
Investments, fair value $ 4,360 $ 4,343    
Percent of net assets 1.70% 1.70% 1.70%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Future Payment Technologies, LP First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:FuturePaymentTechnologiesLPMember whfcl:FuturePaymentTechnologiesLPMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Transaction & Payment Processing Services Transaction & Payment Processing Services Transaction & Payment Processing Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 8.25% 8.25% 8.25%  
Interest Rate 11.97% 12.22% 11.97%  
Acquisition Date Dec. 23, 2016 Dec. 23, 2016    
Maturity Date Dec. 07, 2026 Dec. 07, 2026 Dec. 07, 2026  
Principal/Share Amount $ 18,552 $ 19,175    
Investments, amortized cost 18,545 19,160    
Investments, fair value $ 18,552 $ 19,175    
Percent of net assets 7.30% 7.40% 7.30%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: G-2 Lather Acquisition Corp. First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:G2LatherAcquisitionCorp.Member whfcl:G2LatherAcquisitionCorp.Member    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Personal Products Personal Products Personal Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.00% 5.00% 5.00%  
Interest Rate 8.64% 8.72% 8.64%  
Acquisition Date Mar. 05, 2025 Mar. 05, 2025    
Maturity Date Jan. 31, 2031 Jan. 31, 2031 Jan. 31, 2031  
Investments, fair value $ 24 $ 10    
Investment, Identifier [Axis]: G-2 Lather Acquisition Corp. First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:G2LatherAcquisitionCorp.Member whfcl:G2LatherAcquisitionCorp.Member    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Personal Products Personal Products Personal Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.00% 5.00% 5.00%  
Interest Rate 8.64% 8.72% 8.64%  
Acquisition Date Mar. 05, 2025 Mar. 05, 2025    
Maturity Date Jan. 31, 2031 Jan. 31, 2031 Jan. 31, 2031  
Investments, fair value $ 7 $ 4    
Investment, Identifier [Axis]: G-2 Lather Acquisition Corp. First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:G2LatherAcquisitionCorp.Member whfcl:G2LatherAcquisitionCorp.Member    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Personal Products Personal Products Personal Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.00% 5.00% 5.00%  
Interest Rate 8.64% 8.72% 8.64%  
Acquisition Date Mar. 05, 2025 Mar. 05, 2025    
Maturity Date Jan. 31, 2031 Jan. 31, 2031 Jan. 31, 2031  
Principal/Share Amount $ 3,880 $ 3,900    
Investments, amortized cost 3,836 3,850    
Investments, fair value $ 3,886 $ 3,873    
Investment, Identifier [Axis]: GTT Communications Global, LLC (d/b/a GTT Communications, Inc.), First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:GttCommunicationsGlobalLlcMember whfcl:GttCommunicationsGlobalLlcMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Integrated Telecommunication Services Integrated Telecommunication Services Integrated Telecommunication Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.00% 6.00% 6.00%  
Interest Rate 9.65% 9.73% 9.65%  
Acquisition Date Apr. 15, 2025 Apr. 15, 2025    
Maturity Date Apr. 15, 2031 Apr. 15, 2031 Apr. 15, 2031  
Principal/Share Amount $ 15,206 $ 15,283    
Investments, amortized cost 14,964 15,014    
Investments, fair value $ 15,157 $ 15,129    
Percent of net assets 6.00% 5.80% 6.00%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Gulf Winds International Acquisition, LLC (d/b/a Gulf Winds International, Inc.) First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:GulfWindsInternationalAcquisitionLlcMember whfcl:GulfWindsInternationalAcquisitionLlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Air Freight & Logistics Air Freight & Logistics Air Freight & Logistics  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 7.00% 7.00% 7.00%  
Interest Rate 10.64% 10.72% 10.64%  
Acquisition Date Dec. 16, 2022 Dec. 16, 2022    
Maturity Date Dec. 18, 2028 Dec. 18, 2028 Dec. 18, 2028  
Principal/Share Amount $ 706 $ 605    
Investments, amortized cost 697 596    
Investments, fair value $ 684 $ 584    
Percent of net assets 0.30% 0.20% 0.30%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Gulf Winds International Acquisition, LLC (d/b/a Gulf Winds International, Inc.) First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:GulfWindsInternationalAcquisitionLlcMember whfcl:GulfWindsInternationalAcquisitionLlcMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Air Freight & Logistics Air Freight & Logistics Air Freight & Logistics  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 7.00% 7.00% 7.00%  
Interest Rate 10.64% 10.72% 10.64%  
Cash interest rate 9.64% 9.72% 9.64%  
PIK interest rate 1.00% 1.00% 1.00%  
Acquisition Date Dec. 16, 2022 Dec. 16, 2022    
Maturity Date Dec. 18, 2028 Dec. 18, 2028 Dec. 18, 2028  
Principal/Share Amount $ 8,955 $ 8,956    
Investments, amortized cost 8,843 8,820    
Investments, fair value $ 8,704 $ 8,697    
Percent of net assets 3.40% 3.30% 3.40%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: H I G Camarillo, LP, Limited Partners Interests        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:HIGCamarilloLpMember whfcl:HIGCamarilloLpMember    
Investment, Type [Extensible Enumeration] whfcl:LimitedPartnerInterestsMember whfcl:LimitedPartnerInterestsMember whfcl:LimitedPartnerInterestsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Leisure Facilities Leisure Facilities Leisure Facilities  
Acquisition Date Sep. 25, 2024 Sep. 25, 2024    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: HRG Management, LLC First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration]   whfcl:HRGManagementLLCMember    
Investment, Type [Extensible Enumeration]   whfcl:FirstLienSecuredDelayedDrawLoanMember    
Investment, Issuer Geographic Region [Extensible Enumeration]   srt:NorthAmericaMember    
Investment, Industry Sector [Extensible Enumeration]   Real Estate Services [Member]    
Investment, Variable Interest Rate, Type [Extensible Enumeration]   Base Rate [Member]    
Floor   1.00%    
Spread Above Index   6.22%    
Interest Rate   10.55%    
Acquisition Date   Feb. 18, 2022    
Maturity Date   Oct. 19, 2026    
Principal/Share Amount   $ 1,154    
Investments, amortized cost   1,150    
Investments, fair value   $ 1,154    
Investment, Identifier [Axis]: HRG Management, LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration]   whfcl:HRGManagementLLCMember    
Investment, Type [Extensible Enumeration]   whfcl:FirstLienSecuredRevolvingLoanMember    
Investment, Issuer Geographic Region [Extensible Enumeration]   srt:NorthAmericaMember    
Investment, Industry Sector [Extensible Enumeration]   Real Estate Services [Member]    
Investment, Variable Interest Rate, Type [Extensible Enumeration]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]    
Floor   1.00%    
Spread Above Index   6.25%    
Interest Rate   10.27%    
Acquisition Date   Feb. 18, 2022    
Maturity Date   Oct. 19, 2026    
Principal/Share Amount   $ 700    
Investments, amortized cost   698    
Investments, fair value   $ 701    
Investment, Identifier [Axis]: HRG Management, LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration]   whfcl:HRGManagementLLCMember    
Investment, Type [Extensible Enumeration]   First Lien Secured Term Loan [Member]    
Investment, Issuer Geographic Region [Extensible Enumeration]   srt:NorthAmericaMember    
Investment, Industry Sector [Extensible Enumeration]   Real Estate Services [Member]    
Investment, Variable Interest Rate, Type [Extensible Enumeration]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]    
Floor   1.00%    
Spread Above Index   6.25%    
Interest Rate   10.27%    
Acquisition Date   Dec. 28, 2021    
Maturity Date   Oct. 19, 2026    
Principal/Share Amount   $ 4,602    
Investments, amortized cost   4,588    
Investments, fair value   $ 4,602    
Investment, Identifier [Axis]: ITS Buyer Inc. First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration]   whfcl:ITSBuyerIncMember    
Investment, Type [Extensible Enumeration]   whfcl:FirstLienSecuredRevolvingLoanMember    
Investment, Issuer Geographic Region [Extensible Enumeration]   srt:NorthAmericaMember    
Investment, Industry Sector [Extensible Enumeration]   Air Freight & Logistics    
Investment, Variable Interest Rate, Type [Extensible Enumeration]   Secured Overnight Financing Rate (SOFR) One Month Term [Member]    
Floor   1.00%    
Spread Above Index   6.00%    
Interest Rate   9.83%    
Acquisition Date   Feb. 17, 2022    
Maturity Date   Jun. 14, 2027    
Investments, fair value   $ 2    
Investment, Identifier [Axis]: ITS Buyer Inc. First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration]   whfcl:ITSBuyerIncMember    
Investment, Type [Extensible Enumeration]   First Lien Secured Term Loan [Member]    
Investment, Issuer Geographic Region [Extensible Enumeration]   srt:NorthAmericaMember    
Investment, Industry Sector [Extensible Enumeration]   Air Freight & Logistics    
Investment, Variable Interest Rate, Type [Extensible Enumeration]   Secured Overnight Financing Rate (SOFR) One Month Term [Member]    
Floor   1.00%    
Spread Above Index   6.00%    
Interest Rate   9.83%    
Acquisition Date   Feb. 17, 2022    
Maturity Date   Jun. 14, 2027    
Principal/Share Amount   $ 3,271    
Investments, amortized cost   3,262    
Investments, fair value   $ 3,271    
Investment, Identifier [Axis]: ImageOne Industries, LLC Common A Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:ImageOneIndustriesLLCMember whfcl:ImageOneIndustriesLLCMember    
Investment, Type [Extensible Enumeration] whfcl:CommonAUnitsMember whfcl:CommonAUnitsMember whfcl:CommonAUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Office Services & Supplies Office Services & Supplies Office Services & Supplies  
Acquisition Date Sep. 20, 2019 Sep. 20, 2019    
Principal/Share Amount $ 244 $ 238    
Investments, amortized cost $ 18 $ 13    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Impact Advisors, LLC, First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:ImpactAdvisorsLlcMember whfcl:ImpactAdvisorsLlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Health Care Technology Health Care Technology Health Care Technology  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 4.50% 4.50% 4.50%  
Interest Rate 8.23% 8.17% 8.23%  
Acquisition Date May 01, 2025 May 01, 2025    
Maturity Date Mar. 21, 2031 Mar. 21, 2031 Mar. 21, 2031  
Principal/Share Amount $ 313      
Investments, amortized cost 311      
Investments, fair value $ 322 $ 10    
Investment, Identifier [Axis]: Impact Advisors, LLC, First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:ImpactAdvisorsLlcMember whfcl:ImpactAdvisorsLlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Health Care Technology Health Care Technology Health Care Technology  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Prime Rate [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Prime Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 3.50% 4.50% 3.50%  
Interest Rate 10.25% 8.17% 10.25%  
Acquisition Date May 01, 2025 May 01, 2025    
Maturity Date Mar. 21, 2031 Mar. 21, 2031 Mar. 21, 2031  
Principal/Share Amount $ 280      
Investments, amortized cost 278      
Investments, fair value $ 281 $ 4    
Investment, Identifier [Axis]: Impact Advisors, LLC, First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:ImpactAdvisorsLlcMember whfcl:ImpactAdvisorsLlcMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Health Care Technology Health Care Technology Health Care Technology  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 4.50% 4.50% 4.50%  
Interest Rate 8.23% 8.17% 8.23%  
Acquisition Date May 01, 2025 May 01, 2025    
Maturity Date Mar. 21, 2031 Mar. 21, 2031 Mar. 21, 2031  
Principal/Share Amount $ 4,148 $ 4,169    
Investments, amortized cost 4,115 4,132    
Investments, fair value $ 4,148 $ 4,169    
Investment, Identifier [Axis]: Industrial Service Solutions WC, Inc, First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:IndustrialServiceSolutionsMember      
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember   whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Diversified Support Services   Diversified Support Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Base Rate [Member]   Base Rate [Member]  
Floor 0.75%   0.75%  
Spread Above Index 4.12%   4.12%  
Interest Rate 9.08%   9.08%  
Acquisition Date Apr. 23, 2026      
Maturity Date Feb. 07, 2033   Feb. 07, 2033  
Principal/Share Amount $ 193      
Investments, amortized cost 191      
Investments, fair value $ 192      
Investment, Identifier [Axis]: Industrial Service Solutions WC, Inc, First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:IndustrialServiceSolutionsMember      
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member]   First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Diversified Support Services   Diversified Support Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member]   Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 0.75%   0.75%  
Spread Above Index 4.50%   4.50%  
Interest Rate 8.14%   8.14%  
Acquisition Date Apr. 23, 2026      
Maturity Date Feb. 07, 2033   Feb. 07, 2033  
Principal/Share Amount $ 5,111      
Investments, amortized cost 5,062      
Investments, fair value $ 5,072      
Investment, Identifier [Axis]: Infotree Holdco LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Infotree Holdco LLC [Member] Infotree Holdco LLC [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Human Resource & Employment Services Human Resource & Employment Services Human Resource & Employment Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.75% 5.75% 5.75%  
Interest Rate 9.48% 9.42% 9.48%  
Acquisition Date Feb. 19, 2025 Feb. 19, 2025    
Maturity Date Feb. 19, 2030 Feb. 19, 2030 Feb. 19, 2030  
Investments, fair value   $ 2    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Infotree Holdco LLC First Lien Secured Revolving Loan One        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] Infotree Holdco LLC [Member] Infotree Holdco LLC [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Human Resource & Employment Services Human Resource & Employment Services Human Resource & Employment Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.75% 5.75% 5.75%  
Interest Rate 9.48% 9.42% 9.48%  
Acquisition Date Mar. 24, 2025 Mar. 24, 2025    
Maturity Date Feb. 19, 2030 Feb. 19, 2030 Feb. 19, 2030  
Investments, fair value   $ 1    
Investment, Identifier [Axis]: Infotree Holdco LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Infotree Holdco LLC [Member] Infotree Holdco LLC [Member]    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Human Resource & Employment Services Human Resource & Employment Services Human Resource & Employment Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.75% 5.75% 5.75%  
Interest Rate 9.48% 9.42% 9.48%  
Acquisition Date Feb. 19, 2025 Feb. 19, 2025    
Maturity Date Feb. 19, 2030 Feb. 19, 2030 Feb. 19, 2030  
Principal/Share Amount $ 2,933 $ 2,947    
Investments, amortized cost 2,890 2,899    
Investments, fair value $ 2,891 $ 2,907    
Percent of net assets 1.10% 1.10% 1.10%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Infotree Holdco LLC First Lien Secured Term Loan One        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] Infotree Holdco LLC [Member] Infotree Holdco LLC [Member]    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Human Resource & Employment Services Human Resource & Employment Services Human Resource & Employment Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.75% 5.75% 5.75%  
Interest Rate 9.48% 9.42% 9.48%  
Acquisition Date Mar. 24, 2025 Mar. 24, 2025    
Maturity Date Feb. 19, 2030 Feb. 19, 2030 Feb. 19, 2030  
Principal/Share Amount $ 2,514 $ 2,526    
Investments, amortized cost 2,477 2,484    
Investments, fair value $ 2,478 $ 2,492    
Investment, Identifier [Axis]: Intermedia Cloud Communications, Inc. (d/b/a Intermedia.net, Inc.),First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments   Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:IntermediaCloudCommunicationsIncMember      
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member]   First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Air Freight & Logistics   Air Freight & Logistics  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 0.75%   0.75%  
Spread Above Index 5.50%   5.50%  
Interest Rate 9.16%   9.16%  
Acquisition Date May 27, 2026      
Maturity Date Nov. 26, 2031   Nov. 26, 2031  
Principal/Share Amount $ 6,667      
Investments, amortized cost 6,601      
Investments, fair value $ 6,600      
Percent of net assets 2.60%   2.60%  
Investment, Restriction Status [true false] true   true  
Investment, Significant Unobservable Input [true false] true   true  
Investment, Non-income Producing [true false] false   false  
Investment, Identifier [Axis]: Intermedia Cloud Communications, Inc. (d/b/a  Intermedia.net, Inc.), First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments   Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:IntermediaCloudCommunicationsIncMember      
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember   whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Air Freight & Logistics   Air Freight & Logistics  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 0.75%   0.75%  
Spread Above Index 5.50%   5.50%  
Interest Rate 9.16%   9.16%  
Acquisition Date May 27, 2026      
Maturity Date Nov. 26, 2031   Nov. 26, 2031  
Investment, Restriction Status [true false] true   true  
Investment, Significant Unobservable Input [true false] true   true  
Investment, Non-income Producing [true false] false   false  
Investment, Identifier [Axis]: Island Energy Services, LLC, First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments   Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:IslandEnergyServicesLlcMember      
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member]   First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Oil & Gas Storage & Transportation   Oil & Gas Storage & Transportation  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 0.50%   0.50%  
Spread Above Index 5.75%   5.75%  
Interest Rate 9.43%   9.43%  
Acquisition Date Jul. 16, 2025      
Maturity Date Jul. 16, 2032   Jul. 16, 2032  
Principal/Share Amount $ 10,419      
Investments, amortized cost 10,056      
Investments, fair value $ 10,266      
Percent of net assets 4.10%   4.10%  
Investment, Restriction Status [true false] true   true  
Investment, Significant Unobservable Input [true false] true   true  
Investment, Non-income Producing [true false] false   false  
Investment, Identifier [Axis]: Juniper Landscaping Holdings LLC First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:JuniperLandscapingHoldingsLLCMember whfcl:JuniperLandscapingHoldingsLLCMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Environmental & Facilities Services Environmental & Facilities Services Environmental & Facilities Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Base Rate [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Base Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.75% 5.75% 5.75%  
Interest Rate 9.41% 9.56% 9.41%  
Acquisition Date May 23, 2025 May 23, 2025    
Maturity Date Dec. 29, 2027 Dec. 29, 2027 Dec. 29, 2027  
Principal/Share Amount $ 1,997 $ 890    
Investments, amortized cost 1,984 884    
Investments, fair value $ 2,008 $ 910    
Percent of net assets 0.80% 0.40% 0.80%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Juniper Landscaping Holdings LLC First Lien Secured Delayed Draw Loan One        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:JuniperLandscapingHoldingsLLCMember whfcl:JuniperLandscapingHoldingsLLCMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Environmental & Facilities Services Environmental & Facilities Services Environmental & Facilities Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Base Rate [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Base Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.75% 5.75% 5.75%  
Interest Rate 9.39% 9.43% 9.39%  
Acquisition Date Mar. 01, 2022 Mar. 01, 2022    
Maturity Date Dec. 29, 2027 Dec. 29, 2027 Dec. 29, 2027  
Principal/Share Amount $ 2,307 $ 2,319    
Investments, amortized cost 2,299 2,309    
Investments, fair value $ 2,307 $ 2,319    
Investment, Identifier [Axis]: Juniper Landscaping Holdings LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:JuniperLandscapingHoldingsLLCMember whfcl:JuniperLandscapingHoldingsLLCMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Environmental & Facilities Services Environmental & Facilities Services Environmental & Facilities Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Base Rate [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Base Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.75% 5.75% 5.75%  
Interest Rate 9.42% 9.51% 9.42%  
Acquisition Date May 23, 2025 May 23, 2025    
Maturity Date Dec. 29, 2027 Dec. 29, 2027 Dec. 29, 2027  
Principal/Share Amount $ 403 $ 238    
Investments, amortized cost 399 235    
Investments, fair value $ 407 $ 246    
Percent of net assets 0.20% 0.10% 0.20%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Juniper Landscaping Holdings LLC First Lien Secured Revolving Loan One        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:JuniperLandscapingHoldingsLLCMember whfcl:JuniperLandscapingHoldingsLLCMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Environmental & Facilities Services Environmental & Facilities Services Environmental & Facilities Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Base Rate [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Base Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.75% 5.75% 5.75%  
Interest Rate 9.42% 9.52% 9.42%  
Acquisition Date Mar. 01, 2022 Mar. 01, 2022    
Maturity Date Dec. 29, 2027 Dec. 29, 2027 Dec. 29, 2027  
Principal/Share Amount $ 525 $ 310    
Investments, amortized cost 523 309    
Investments, fair value $ 527 $ 314    
Investment, Identifier [Axis]: Juniper Landscaping Holdings LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:JuniperLandscapingHoldingsLLCMember whfcl:JuniperLandscapingHoldingsLLCMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Environmental & Facilities Services Environmental & Facilities Services Environmental & Facilities Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Base Rate [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Base Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.75% 5.75% 5.75%  
Interest Rate 9.39% 9.43% 9.39%  
Acquisition Date May 23, 2025 May 23, 2025    
Maturity Date Dec. 29, 2027 Dec. 29, 2027 Dec. 29, 2027  
Principal/Share Amount $ 452 $ 454    
Investments, amortized cost 448 449    
Investments, fair value $ 452 $ 454    
Percent of net assets 0.20% 0.20% 0.20%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Juniper Landscaping Holdings LLC First Lien Secured Term Loan One        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:JuniperLandscapingHoldingsLLCMember whfcl:JuniperLandscapingHoldingsLLCMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Environmental & Facilities Services Environmental & Facilities Services Environmental & Facilities Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Base Rate [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Base Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.75% 5.75% 5.75%  
Interest Rate 9.39% 9.43% 9.39%  
Acquisition Date Mar. 01, 2022 Mar. 01, 2022    
Maturity Date Dec. 29, 2027 Dec. 29, 2027 Dec. 29, 2027  
Principal/Share Amount $ 10,907 $ 10,964    
Investments, amortized cost 10,872 10,917    
Investments, fair value $ 10,907 $ 10,964    
Investment, Identifier [Axis]: KORE Wireless Group Inc. First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:KoreWirelessGroupIncMember whfcl:KoreWirelessGroupIncMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Wireless Telecommunication Services Wireless Telecommunication Services Wireless Telecommunication Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.50% 6.50% 6.50%  
Interest Rate 10.14% 10.38% 10.14%  
Acquisition Date Nov. 27, 2023 Nov. 27, 2023    
Maturity Date Nov. 09, 2028 Nov. 09, 2028 Nov. 09, 2028  
Investments, fair value $ 8 $ 10    
Investment, Identifier [Axis]: KORE Wireless Group Inc. First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:KoreWirelessGroupIncMember whfcl:KoreWirelessGroupIncMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Wireless Telecommunication Services Wireless Telecommunication Services Wireless Telecommunication Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.50% 6.50% 6.50%  
Interest Rate 10.14% 10.38% 10.14%  
Acquisition Date Nov. 27, 2023 Nov. 27, 2023    
Maturity Date Nov. 09, 2028 Nov. 09, 2028 Nov. 09, 2028  
Principal/Share Amount $ 6,258 $ 6,290    
Investments, amortized cost 6,199 6,218    
Investments, fair value $ 6,258 $ 6,290    
Investment, Identifier [Axis]: Kelso Industries LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Kelso Industries L L C [Member] Kelso Industries L L C [Member]    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Construction & Engineering Construction & Engineering Construction & Engineering  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.75% 5.75% 5.75%  
Interest Rate 9.42% 9.57% 9.42%  
Acquisition Date Dec. 26, 2024 Dec. 26, 2024    
Maturity Date Dec. 31, 2029 Dec. 31, 2029 Dec. 31, 2029  
Principal/Share Amount $ 5,127 $ 4,785    
Investments, amortized cost 5,057 4,710    
Investments, fair value $ 5,127 $ 4,823    
Percent of net assets 2.00% 1.90% 2.00%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Kelso Industries LLC, First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments   Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Kelso Industries L L C [Member]      
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember   whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Construction & Engineering   Construction & Engineering  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00%   1.00%  
Spread Above Index 5.75%   5.75%  
Interest Rate 9.42%   9.42%  
Acquisition Date Jan. 27, 2026      
Maturity Date Dec. 31, 2029   Dec. 31, 2029  
Investments, fair value $ 13      
Investment, Restriction Status [true false] true   true  
Investment, Significant Unobservable Input [true false] true   true  
Investment, Non-income Producing [true false] false   false  
Investment, Identifier [Axis]: Keras Holdings, LLC Shares        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:KerasHoldingsLLCMember whfcl:KerasHoldingsLLCMember    
Investment, Type [Extensible Enumeration] whfcl:SharesMember Common Stock [Member] whfcl:SharesMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] IT Consulting And Other Services IT Consulting And Other Services IT Consulting And Other Services  
Acquisition Date Dec. 31, 2020 Dec. 31, 2020    
Principal/Share Amount $ 496 $ 496    
Investments, amortized cost 496 496    
Investments, fair value $ 50 $ 446    
Percent of net assets   0.20%    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: LINC Systems, LLC, First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration]   whfcl:LINCSystemsLLCMember    
Investment, Type [Extensible Enumeration]   whfcl:FirstLienSecuredRevolvingLoanMember    
Investment, Issuer Geographic Region [Extensible Enumeration]   srt:NorthAmericaMember    
Investment, Industry Sector [Extensible Enumeration]   Paper & Plastic Packaging Products & Materials    
Investment, Variable Interest Rate, Type [Extensible Enumeration]   Base Rate [Member]    
Floor   1.00%    
Spread Above Index   6.25%    
Interest Rate   10.32%    
Acquisition Date   Jun. 22, 2021    
Maturity Date   Feb. 24, 2026    
Investment, Identifier [Axis]: LINC Systems, LLC, First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration]   whfcl:LINCSystemsLLCMember    
Investment, Type [Extensible Enumeration]   First Lien Secured Term Loan [Member]    
Investment, Issuer Geographic Region [Extensible Enumeration]   srt:NorthAmericaMember    
Investment, Industry Sector [Extensible Enumeration]   Paper & Plastic Packaging Products & Materials    
Investment, Variable Interest Rate, Type [Extensible Enumeration]   Base Rate [Member]    
Floor   1.00%    
Spread Above Index   6.25%    
Interest Rate   10.32%    
Acquisition Date   Jun. 22, 2021    
Maturity Date   Feb. 24, 2026    
Principal/Share Amount   $ 7,900    
Investments, amortized cost   7,895    
Investments, fair value   $ 7,900    
Investment, Identifier [Axis]: Leviathan Intermediate Holdco, LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:LeviathanIntermediateHoldcoLlcMember whfcl:LeviathanIntermediateHoldcoLlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Leisure Products Leisure Products Leisure Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.50% 1.50% 1.50%  
Spread Above Index 6.00% 6.00% 6.00%  
Interest Rate 9.73% 9.67% 9.73%  
Acquisition Date Dec. 27, 2022 Dec. 27, 2022    
Maturity Date Dec. 27, 2027 Dec. 27, 2027 Dec. 27, 2027  
Investments, fair value $ 3 $ 4    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Leviathan Intermediate Holdco, LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:LeviathanIntermediateHoldcoLlcMember whfcl:LeviathanIntermediateHoldcoLlcMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Leisure Products Leisure Products Leisure Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.50% 1.50% 1.50%  
Spread Above Index 6.00% 6.00% 6.00%  
Interest Rate 9.73% 9.67% 9.73%  
Acquisition Date Dec. 27, 2022 Dec. 27, 2022    
Maturity Date Dec. 27, 2027 Dec. 27, 2027 Dec. 27, 2027  
Principal/Share Amount $ 13,575 $ 13,645    
Investments, amortized cost 13,456 13,486    
Investments, fair value $ 13,519 $ 13,584    
Percent of net assets 5.30% 5.20% 5.30%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Lift Brands, Inc First Lien Secured Term Loan A        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:LiftBrandsIncMember whfcl:LiftBrandsIncMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredTermLoanAMember whfcl:FirstLienSecuredTermLoanAMember whfcl:FirstLienSecuredTermLoanAMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Leisure Facilities Leisure Facilities Leisure Facilities  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 7.50% 7.50% 7.50%  
Interest Rate 11.24% 11.32% 11.24%  
Acquisition Date Jun. 29, 2020 Jun. 29, 2020    
Maturity Date Sep. 30, 2026 Sep. 30, 2026 Sep. 30, 2026  
Principal/Share Amount $ 5,001 $ 5,120    
Investments, amortized cost 5,001 5,119    
Investments, fair value $ 5,001 $ 5,120    
Percent of net assets 2.00% 2.00% 2.00%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Lift Brands, Inc First Lien Secured Term Loan B        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:LiftBrandsIncMember whfcl:LiftBrandsIncMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredTermLoanBMember whfcl:FirstLienSecuredTermLoanBMember whfcl:FirstLienSecuredTermLoanBMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Leisure Facilities Leisure Facilities Leisure Facilities  
Spread Above Index 9.50% 9.50% 9.50%  
Interest Rate 9.50%   9.50%  
PIK interest rate   9.50%    
Acquisition Date Jun. 29, 2020 Jun. 29, 2020    
Maturity Date Sep. 30, 2026 Sep. 30, 2026 Sep. 30, 2026  
Principal/Share Amount $ 1,779 $ 1,753    
Investments, amortized cost 1,779 1,752    
Investments, fair value $ 1,779 $ 1,753    
Percent of net assets 0.70% 0.70% 0.70%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: LogicMonitor, Inc. - First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] LogicMonitor, Inc. [Member] LogicMonitor, Inc. [Member]    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Systems Software Systems Software Systems Software  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 0.75% 0.75% 0.75%  
Spread Above Index 5.50% 5.50% 5.50%  
Interest Rate 9.16% 9.34% 9.16%  
Acquisition Date Nov. 19, 2024 Nov. 19, 2024    
Maturity Date Nov. 19, 2031 Nov. 19, 2031 Nov. 19, 2031  
Principal/Share Amount $ 8,220 $ 8,220    
Investments, amortized cost 8,138 8,130    
Investments, fair value $ 8,220 $ 8,186    
Percent of net assets 3.30% 3.20% 3.30%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: LogicMonitor, Inc. First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] LogicMonitor, Inc. [Member] LogicMonitor, Inc. [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Systems Software Systems Software Systems Software  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 0.75% 0.75% 0.75%  
Spread Above Index 5.50% 5.50% 5.50%  
Interest Rate 9.16% 9.34% 9.16%  
Acquisition Date Dec. 02, 2025 Dec. 02, 2025    
Maturity Date Nov. 19, 2031 Nov. 19, 2031 Nov. 19, 2031  
Investments, fair value $ 5      
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: LogicMonitor, Inc.- First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] LogicMonitor, Inc. [Member] LogicMonitor, Inc. [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Systems Software Systems Software Systems Software  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 0.75% 0.75% 0.75%  
Spread Above Index 5.50% 5.50% 5.50%  
Interest Rate 9.16% 9.34% 9.16%  
Acquisition Date Nov. 19, 2024 Nov. 19, 2024    
Maturity Date Nov. 19, 2031 Nov. 19, 2031 Nov. 19, 2031  
Investments, fair value $ 7 $ 5    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: M2S Group Intermediate Holdings, Inc. First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:M2sGroupIntermediateHoldingsIncMember whfcl:M2sGroupIntermediateHoldingsIncMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Paper Products Paper Products Paper Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 0.50% 0.50% 0.50%  
Spread Above Index 4.75% 4.75% 4.75%  
Interest Rate 8.41% 8.59% 8.41%  
Acquisition Date Aug. 22, 2024 Aug. 22, 2024    
Maturity Date Aug. 25, 2031 Aug. 25, 2031 Aug. 25, 2031  
Principal/Share Amount $ 8,966 $ 9,368    
Investments, amortized cost 8,503 8,838    
Investments, fair value $ 8,892 $ 9,276    
Percent of net assets 3.50% 3.60% 3.50%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: MBS Highway, LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:MbsHighwayLlcMember whfcl:MbsHighwayLlcMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Air Freight & Logistics Application Software Air Freight & Logistics  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Six Month Term [Member] Secured Overnight Financing Rate (SOFR) Six Month Term [Member] Secured Overnight Financing Rate (SOFR) Six Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 8.00% 8.00% 8.00%  
Interest Rate 11.94% 12.03% 11.94%  
Acquisition Date Oct. 13, 2022 Oct. 13, 2022    
Maturity Date Oct. 13, 2027 Oct. 13, 2027 Oct. 13, 2027  
Principal/Share Amount $ 9,156 $ 9,204    
Investments, amortized cost 9,097 9,122    
Investments, fair value $ 9,128 $ 9,184    
Percent of net assets 3.60% 3.50% 3.60%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: MGT Merger Target, LLC (d/b/a MGT Consulting Group), First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] MGT Merger Target, LLC [Member] MGT Merger Target, LLC [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration]   srt:NorthAmericaMember    
Investment, Industry Sector [Extensible Enumeration] IT Consulting And Other Services IT Consulting And Other Services IT Consulting And Other Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.25% 5.00% 5.25%  
Interest Rate 8.89% 8.74% 8.89%  
Acquisition Date Apr. 08, 2025 Apr. 08, 2025    
Maturity Date Apr. 10, 2029 Apr. 10, 2029 Apr. 10, 2029  
Principal/Share Amount $ 488 $ 283    
Investments, amortized cost 486 281    
Investments, fair value $ 479 $ 300    
Percent of net assets 0.20% 0.10% 0.20%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: MGT Merger Target, LLC First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] MGT Merger Target, LLC [Member]      
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember   whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] IT Consulting And Other Services   IT Consulting And Other Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00%   1.00%  
Spread Above Index 5.25%   5.25%  
Interest Rate 8.91%   8.91%  
Acquisition Date May 10, 2023      
Maturity Date Apr. 10, 2029   Apr. 10, 2029  
Principal/Share Amount $ 1,315      
Investments, amortized cost 1,297      
Investments, fair value $ 1,302      
Investment, Identifier [Axis]: MGT Merger Target, LLC First Lien Secured Delayed Draw Loan, One        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration]   MGT Merger Target, LLC [Member]    
Investment, Type [Extensible Enumeration]   whfcl:FirstLienSecuredDelayedDrawLoanMember    
Investment, Issuer Geographic Region [Extensible Enumeration]   srt:NorthAmericaMember    
Investment, Industry Sector [Extensible Enumeration]   IT Consulting And Other Services    
Investment, Variable Interest Rate, Type [Extensible Enumeration]   Secured Overnight Financing Rate (SOFR) One Month Term [Member]    
Floor   1.00%    
Spread Above Index   5.00%    
Interest Rate   8.72%    
Acquisition Date   May 10, 2023    
Maturity Date   Apr. 10, 2029    
Principal/Share Amount   $ 1,322    
Investments, amortized cost   1,300    
Investments, fair value   $ 1,322    
Investment, Identifier [Axis]: MGT Merger Target, LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] MGT Merger Target, LLC [Member] MGT Merger Target, LLC [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] IT Consulting And Other Services IT Consulting And Other Services IT Consulting And Other Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Prime Rate [Member] Prime Rate [Member] Prime Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 4.25% 4.00% 4.25%  
Interest Rate 11.00% 10.75% 11.00%  
Acquisition Date Apr. 07, 2025 Apr. 07, 2025    
Maturity Date Apr. 10, 2028 Apr. 10, 2028 Apr. 10, 2028  
Principal/Share Amount $ 676 $ 714    
Investments, amortized cost 670 705    
Investments, fair value $ 670 $ 715    
Investment, Identifier [Axis]: MGT Merger Target, LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] MGT Merger Target, LLC [Member] MGT Merger Target, LLC [Member]    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] IT Consulting And Other Services IT Consulting And Other Services IT Consulting And Other Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.25% 5.00% 5.25%  
Interest Rate 8.91% 8.72% 8.91%  
Acquisition Date May 10, 2023 May 10, 2023    
Maturity Date Apr. 10, 2029 Apr. 10, 2029 Apr. 10, 2029  
Principal/Share Amount $ 8,512 $ 8,555    
Investments, amortized cost 8,406 8,430    
Investments, fair value $ 8,428 $ 8,567    
Investment, Identifier [Axis]: Mamp;M OpCo. LLC (d/b/a Escalent, Inc.) First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] M&M OpCo. LLC (d/b/a Escalent, Inc.) M&M OpCo. LLC (d/b/a Escalent, Inc.)    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Research & Consulting Services Research & Consulting Services Research & Consulting Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.00% 6.00% 6.00%  
Interest Rate 9.73% 9.67% 9.73%  
Acquisition Date Apr. 07, 2023 Apr. 07, 2023    
Maturity Date Apr. 09, 2029 Apr. 09, 2029 Apr. 09, 2029  
Principal/Share Amount $ 76      
Investments, amortized cost 75      
Investments, fair value $ 78 $ 4    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Mamp;M OpCo. LLC (d/b/a Escalent, Inc.) First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] M&M OpCo. LLC (d/b/a Escalent, Inc.) M&M OpCo. LLC (d/b/a Escalent, Inc.)    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Research & Consulting Services Research & Consulting Services Research & Consulting Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.00% 6.00% 6.00%  
Interest Rate 9.73% 9.67% 9.73%  
Acquisition Date Apr. 07, 2023 Apr. 07, 2023    
Maturity Date Apr. 09, 2029 Apr. 09, 2029 Apr. 09, 2029  
Principal/Share Amount $ 4,751 $ 4,827    
Investments, amortized cost 4,686 4,748    
Investments, fair value $ 4,751 $ 4,827    
Percent of net assets 1.90% 1.90% 1.90%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Marki Microwave, LLC, First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:MarkiMicrowaveLlcMember whfcl:MarkiMicrowaveLlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Electrical Components And Equipment [Member] Electrical Components And Equipment [Member] Electrical Components And Equipment [Member]  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 4.00% 4.25% 4.00%  
Interest Rate 7.73% 8.12% 7.73%  
Acquisition Date Nov. 26, 2025 Nov. 26, 2025    
Maturity Date Nov. 21, 2031 Nov. 21, 2031 Nov. 21, 2031  
Investments, fair value $ 6      
Investment, Identifier [Axis]: Marki Microwave, LLC, First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:MarkiMicrowaveLlcMember whfcl:MarkiMicrowaveLlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Electrical Components And Equipment [Member] Electrical Components And Equipment [Member] Electrical Components And Equipment [Member]  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Prime Rate [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Prime Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 4.00% 4.25% 4.00%  
Interest Rate 7.73% 8.12% 7.73%  
Acquisition Date Nov. 26, 2025 Nov. 26, 2025    
Maturity Date Nov. 21, 2031 Nov. 21, 2031 Nov. 21, 2031  
Investments, fair value $ 6      
Investment, Identifier [Axis]: Marki Microwave, LLC, First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:MarkiMicrowaveLlcMember whfcl:MarkiMicrowaveLlcMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Electrical Components And Equipment [Member] Electrical Components And Equipment [Member] Electrical Components And Equipment [Member]  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 4.00% 4.25% 4.00%  
Interest Rate 7.73% 8.12% 7.73%  
Acquisition Date Nov. 26, 2025 Nov. 26, 2025    
Maturity Date Nov. 21, 2031 Nov. 21, 2031 Nov. 21, 2031  
Principal/Share Amount $ 6,030 $ 6,045    
Investments, amortized cost 5,976 5,986    
Investments, fair value $ 5,995 $ 5,985    
Investment, Identifier [Axis]: Marlin DTC-LS Midco 2, LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:MarlinDTC-LSMidco2LLCMember whfcl:MarlinDTC-LSMidco2LLCMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Broadline Retail Broadline Retail Broadline Retail  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.50% 6.50% 6.50%  
Interest Rate 10.24% 10.32% 10.24%  
Acquisition Date Jul. 19, 2019 Jul. 19, 2019    
Maturity Date May 03, 2027 Jul. 01, 2026 May 03, 2027  
Investments, fair value $ (25) $ (39)    
Investment, Identifier [Axis]: Marlin DTC-LS Midco 2, LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:MarlinDTC-LSMidco2LLCMember whfcl:MarlinDTC-LSMidco2LLCMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Broadline Retail Broadline Retail Broadline Retail  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.50% 6.50% 6.50%  
Interest Rate 10.24% 10.32% 10.24%  
Acquisition Date Jul. 19, 2019 Jul. 19, 2019    
Maturity Date May 03, 2027 Jul. 01, 2026 May 03, 2027  
Principal/Share Amount $ 17,643 $ 18,019    
Investments, amortized cost 17,643 18,019    
Investments, fair value $ 17,002 $ 17,299    
Investment, Identifier [Axis]: Max Solutions Inc. Common Stock        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:MaxSolutionsIncMember whfcl:MaxSolutionsIncMember    
Investment, Type [Extensible Enumeration] Common Stock [Member] Common Stock [Member] Common Stock [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Paper & Plastic Packaging Products & Materials Paper & Plastic Packaging Products & Materials Paper & Plastic Packaging Products & Materials  
Acquisition Date Sep. 29, 2022 Sep. 29, 2022    
Principal/Share Amount $ 4 $ 4    
Investments, amortized cost $ 400 $ 400    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Max Solutions, Inc. First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:MaxSolutionsIncMember whfcl:MaxSolutionsIncMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Paper & Plastic Packaging Products & Materials Paper & Plastic Packaging Products & Materials Paper & Plastic Packaging Products & Materials  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.90% 6.90% 6.90%  
Interest Rate 8.66% 10.89% 8.66%  
Acquisition Date Oct. 07, 2022 Oct. 07, 2022    
Maturity Date Sep. 29, 2028 Sep. 29, 2028 Sep. 29, 2028  
Principal/Share Amount $ 408 $ 410    
Investments, amortized cost 406 407    
Investments, fair value $ 408 $ 408    
Investment, Identifier [Axis]: Max Solutions, Inc. First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:MaxSolutionsIncMember whfcl:MaxSolutionsIncMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Paper & Plastic Packaging Products & Materials Paper & Plastic Packaging Products & Materials Paper & Plastic Packaging Products & Materials  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Canadian Overnight Repo Rate Average Canadian Overnight Repo Rate Average Canadian Overnight Repo Rate Average  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.90% 6.90% 6.90%  
Interest Rate 8.66% 10.89% 8.66%  
Acquisition Date Oct. 07, 2022 Oct. 07, 2022    
Maturity Date Sep. 29, 2028 Sep. 29, 2028 Sep. 29, 2028  
Investments, fair value $ 1 $ 1    
Investment, Identifier [Axis]: Max Solutions, Inc. First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:MaxSolutionsIncMember whfcl:MaxSolutionsIncMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Paper & Plastic Packaging Products & Materials Paper & Plastic Packaging Products & Materials Paper & Plastic Packaging Products & Materials  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.91% 6.91% 6.91%  
Interest Rate 8.66% 10.90% 8.66%  
Acquisition Date Oct. 07, 2022 Oct. 07, 2022    
Maturity Date Sep. 29, 2028 Sep. 29, 2028 Sep. 29, 2028  
Principal/Share Amount $ 6,416 $ 6,451    
Investments, amortized cost 6,368 6,392    
Investments, fair value $ 6,416 $ 6,420    
Investment, Identifier [Axis]: Maxor Acquisition, Inc. (d/b/a Maxor National Pharmacy Services, LLC) First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:MaxorAcquisitionInc.Member whfcl:MaxorAcquisitionInc.Member    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Health Care Services Health Care Services Health Care Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Six Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) Six Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.00% 6.00% 6.00%  
Interest Rate 9.98% 9.82% 9.98%  
Acquisition Date Dec. 27, 2024 Dec. 27, 2024    
Maturity Date Mar. 01, 2029 Mar. 01, 2029 Mar. 01, 2029  
Principal/Share Amount $ 933 $ 938    
Investments, amortized cost 927 930    
Investments, fair value $ 933 $ 942    
Percent of net assets 0.40% 0.40% 0.40%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Maxor Acquisition, Inc. First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:MaxorAcquisitionInc.Member whfcl:MaxorAcquisitionInc.Member    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Health Care Services Health Care Services Health Care Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Six Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) Six Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.00% 6.00% 6.00%  
Interest Rate 9.98% 9.82% 9.98%  
Acquisition Date Apr. 11, 2023 Apr. 11, 2023    
Maturity Date Mar. 01, 2029 Mar. 01, 2029 Mar. 01, 2029  
Principal/Share Amount $ 4,925 $ 4,951    
Investments, amortized cost 4,860 4,872    
Investments, fair value $ 4,925 $ 4,974    
Investment, Identifier [Axis]: Maxor Acquisition, Inc.First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:MaxorAcquisitionInc.Member whfcl:MaxorAcquisitionInc.Member    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Health Care Services Health Care Services Health Care Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Six Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) Six Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.00% 6.00% 6.00%  
Interest Rate 9.98% 9.82% 9.98%  
Acquisition Date Apr. 11, 2023 Apr. 11, 2023    
Maturity Date Mar. 01, 2029 Mar. 01, 2029 Mar. 01, 2029  
Investments, fair value $ 6 $ 8    
Investment, Identifier [Axis]: Media Source, LLC (d/b/a Media Source Inc.) First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] us-gaap:InvestmentAffiliatedIssuerMember Non-controlled/non-affiliate company investments us-gaap:InvestmentAffiliatedIssuerMember  
Investment, Issuer Name [Extensible Enumeration] Media Source, LLC [Member] Media Source, LLC [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Education Services Education Services Education Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.75% 5.75% 5.75%  
Interest Rate 9.44% 9.54% 9.44%  
Cash interest rate   4.77%    
PIK interest rate   4.77%    
Acquisition Date Sep. 01, 2025 Sep. 01, 2025    
Maturity Date Aug. 30, 2030 Aug. 30, 2030 Aug. 30, 2030  
Principal/Share Amount $ 150      
Investments, amortized cost 147      
Investments, fair value $ 149 $ 17    
Percent of net assets 0.10%   0.10%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Media Source, LLC (d/b/a Media Source Inc.) First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] us-gaap:InvestmentAffiliatedIssuerMember Non-controlled/non-affiliate company investments us-gaap:InvestmentAffiliatedIssuerMember  
Investment, Issuer Name [Extensible Enumeration] Media Source, LLC [Member] Media Source, LLC [Member]    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Education Services Education Services Education Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.75% 5.75% 5.75%  
Interest Rate 9.42% 9.54% 9.42%  
Cash interest rate 4.71% 4.77% 4.71%  
PIK interest rate 4.71% 4.77% 4.71%  
Acquisition Date Sep. 01, 2025 Sep. 01, 2025    
Maturity Date Aug. 30, 2030 Aug. 30, 2030 Aug. 30, 2030  
Principal/Share Amount $ 4,323 $ 4,242    
Investments, amortized cost 4,323 4,242    
Investments, fair value $ 4,259 $ 4,242    
Percent of net assets 1.70% 1.60% 1.70%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Merriman Holdings LP (d/b/a Escalent, Inc.) Class A Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:MerrimanHoldingsLPMember whfcl:MerrimanHoldingsLPMember    
Investment, Type [Extensible Enumeration] whfcl:ClassAUnitsMember whfcl:ClassAUnitsMember whfcl:ClassAUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Research & Consulting Services Research & Consulting Services Research & Consulting Services  
Acquisition Date Apr. 07, 2023 Apr. 07, 2023    
Principal/Share Amount $ 327 $ 327    
Investments, amortized cost 333 333    
Investments, fair value $ 286 $ 312    
Percent of net assets 0.10% 0.10% 0.10%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Meta Buyer LLC First Lien Secured Term Loan Two        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration]   Non-controlled/non-affiliate company investments    
Investment, Issuer Name [Extensible Enumeration]   whfcl:MetaBuyerLLCMember    
Investment, Type [Extensible Enumeration]   First Lien Secured Term Loan [Member]    
Investment, Issuer Geographic Region [Extensible Enumeration]   srt:NorthAmericaMember    
Investment, Industry Sector [Extensible Enumeration]   Pharmaceuticals    
Investment, Variable Interest Rate, Type [Extensible Enumeration]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]    
Floor   0.75%    
Spread Above Index   5.25%    
Interest Rate   8.94%    
Acquisition Date   Dec. 22, 2025    
Maturity Date   Dec. 22, 2031    
Principal/Share Amount   $ 6,720    
Investments, amortized cost   6,653    
Investments, fair value   $ 6,653    
Percent of net assets   2.60%    
Investment, Restriction Status [true false]   true    
Investment, Significant Unobservable Input [true false]   true    
Investment, Non-income Producing [true false]   false    
Investment, Identifier [Axis]: Meta Buyer LLC, First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration]   Non-controlled/non-affiliate company investments    
Investment, Issuer Name [Extensible Enumeration] whfcl:MetaBuyerLLCMember whfcl:MetaBuyerLLCMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Personal Products Pharmaceuticals Personal Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 0.75% 0.75% 0.75%  
Spread Above Index 5.25% 5.25% 5.25%  
Interest Rate 8.93% 8.94% 8.93%  
Acquisition Date Mar. 30, 2026 Dec. 22, 2025    
Maturity Date Dec. 22, 2031 Dec. 22, 2031 Dec. 22, 2031  
Principal/Share Amount $ 1,607      
Investments, amortized cost 1,597      
Investments, fair value $ 1,599      
Investment, Restriction Status [true false]   true    
Investment, Significant Unobservable Input [true false]   true    
Investment, Non-income Producing [true false]   false    
Investment, Identifier [Axis]: Meta Buyer LLC, First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration]   Non-controlled/non-affiliate company investments    
Investment, Issuer Name [Extensible Enumeration] whfcl:MetaBuyerLLCMember whfcl:MetaBuyerLLCMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Personal Products Pharmaceuticals Personal Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 0.75% 0.75% 0.75%  
Spread Above Index 5.25% 5.25% 5.25%  
Interest Rate 8.97% 8.94% 8.97%  
Acquisition Date Mar. 30, 2026 Dec. 22, 2025    
Maturity Date Dec. 22, 2031 Dec. 22, 2031 Dec. 22, 2031  
Principal/Share Amount $ 340      
Investments, amortized cost 337      
Investments, fair value $ 342      
Investment, Restriction Status [true false]   true    
Investment, Significant Unobservable Input [true false]   true    
Investment, Non-income Producing [true false]   false    
Investment, Identifier [Axis]: Meta Buyer LLC, First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:MetaBuyerLLCMember      
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member]   First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Personal Products   Personal Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 0.75%   0.75%  
Spread Above Index 5.25%   5.25%  
Interest Rate 8.93%   8.93%  
Acquisition Date Feb. 04, 2026      
Maturity Date Dec. 22, 2031   Dec. 22, 2031  
Principal/Share Amount $ 6,686      
Investments, amortized cost 6,625      
Investments, fair value $ 6,647      
Investment, Identifier [Axis]: Meta Buyer LLC, First Lien Secured Term Loan One        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration]   Non-controlled/non-affiliate company investments    
Investment, Issuer Name [Extensible Enumeration] whfcl:MetaBuyerLLCMember whfcl:MetaBuyerLLCMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Personal Products Pharmaceuticals Personal Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Euro Interbank Offered Rate Three Month Term [Member] Euro Interbank Offered Rate Three Month Term [Member] Euro Interbank Offered Rate Three Month Term [Member]  
Floor 0.75% 0.75% 0.75%  
Spread Above Index 5.25% 5.25% 5.25%  
Interest Rate 7.33% 7.29% 7.33%  
Acquisition Date Feb. 04, 2026 Dec. 22, 2025    
Maturity Date Dec. 22, 2031 Dec. 22, 2031 Dec. 22, 2031  
Principal/Share Amount   $ 4,621 € 4,609  
Investments, amortized cost $ 5,391 5,378    
Investments, fair value $ 5,234 $ 5,374    
Percent of net assets   2.10%    
Investment, Restriction Status [true false]   true    
Investment, Significant Unobservable Input [true false]   true    
Investment, Non-income Producing [true false]   false    
Investment, Identifier [Axis]: Midwest Texas Tea CA, LLC (d/b/a US Petroleum Partners, LLC) First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Midwest Texas Tea CA, LLC [Member] Midwest Texas Tea CA, LLC [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Oil & Gas Refining & Marketing Oil & Gas Refining & Marketing Oil & Gas Refining & Marketing  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 7.50% 7.50% 7.50%  
Interest Rate 11.24% 11.32% 11.24%  
Acquisition Date Dec. 22, 2023 Dec. 22, 2023    
Maturity Date Dec. 22, 2028 Dec. 22, 2028 Dec. 22, 2028  
Principal/Share Amount $ 642 $ 639    
Investments, amortized cost 634 629    
Investments, fair value $ 644 $ 639    
Percent of net assets 0.30% 0.20% 0.30%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Midwest Texas Tea CA, LLC (d/b/a US Petroleum Partners, LLC) First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Midwest Texas Tea CA, LLC [Member] Midwest Texas Tea CA, LLC [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Oil & Gas Refining & Marketing Oil & Gas Refining & Marketing Oil & Gas Refining & Marketing  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 7.27% 7.50% 7.27%  
Interest Rate 11.70% 11.32% 11.70%  
Acquisition Date Dec. 22, 2023 Dec. 22, 2023    
Maturity Date Dec. 22, 2028 Dec. 22, 2028 Dec. 22, 2028  
Principal/Share Amount $ 501 $ 572    
Investments, amortized cost 495 563    
Investments, fair value $ 502 $ 572    
Percent of net assets 0.20% 0.20% 0.20%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Midwest Texas Tea CA, LLC (d/b/a US Petroleum Partners, LLC) First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Midwest Texas Tea CA, LLC [Member] Midwest Texas Tea CA, LLC [Member]    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Oil & Gas Refining & Marketing Oil & Gas Refining & Marketing Oil & Gas Refining & Marketing  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 7.50% 7.50% 7.50%  
Interest Rate 11.24% 11.32% 11.24%  
Acquisition Date Dec. 22, 2023 Dec. 22, 2023    
Maturity Date Dec. 22, 2028 Dec. 22, 2028 Dec. 22, 2028  
Principal/Share Amount $ 9,232 $ 9,188    
Investments, amortized cost 9,119 9,051    
Investments, fair value $ 9,262 $ 9,193    
Percent of net assets 3.70% 3.50% 3.70%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Monarch Collective Holdings, LLC First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration]   Non-controlled/non-affiliate company investments    
Investment, Issuer Name [Extensible Enumeration]   whfcl:MonarchCollectiveHoldingsLlcMember    
Investment, Type [Extensible Enumeration]   whfcl:FirstLienSecuredDelayedDrawLoanMember    
Investment, Issuer Geographic Region [Extensible Enumeration]   srt:NorthAmericaMember    
Investment, Industry Sector [Extensible Enumeration]   Real Estate Services [Member]    
Investment, Variable Interest Rate, Type [Extensible Enumeration]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]    
Floor   1.50%    
Spread Above Index   7.25%    
Interest Rate   10.97%    
Acquisition Date   Jan. 10, 2024    
Maturity Date   Jan. 10, 2029    
Principal/Share Amount   $ 1,579    
Investments, amortized cost   1,562    
Investments, fair value   $ 1,553    
Percent of net assets   0.60%    
Investment, Restriction Status [true false]   true    
Investment, Significant Unobservable Input [true false]   true    
Investment, Non-income Producing [true false]   false    
Investment, Identifier [Axis]: Monarch Collective Holdings, LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration]   Non-controlled/non-affiliate company investments    
Investment, Issuer Name [Extensible Enumeration]   whfcl:MonarchCollectiveHoldingsLlcMember    
Investment, Type [Extensible Enumeration]   First Lien Secured Term Loan [Member]    
Investment, Issuer Geographic Region [Extensible Enumeration]   srt:NorthAmericaMember    
Investment, Industry Sector [Extensible Enumeration]   Real Estate Services [Member]    
Investment, Variable Interest Rate, Type [Extensible Enumeration]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]    
Floor   1.50%    
Spread Above Index   7.25%    
Interest Rate   10.92%    
Acquisition Date   Jan. 10, 2024    
Maturity Date   Jan. 10, 2029    
Principal/Share Amount   $ 9,212    
Investments, amortized cost   9,073    
Investments, fair value   $ 9,061    
Percent of net assets   3.50%    
Investment, Restriction Status [true false]   true    
Investment, Significant Unobservable Input [true false]   true    
Investment, Non-income Producing [true false]   false    
Investment, Identifier [Axis]: Motivational CIV, LLC Class B Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:MotivationalCIVLLCMember whfcl:MotivationalCIVLLCMember    
Investment, Type [Extensible Enumeration] whfcl:ClassBUnitsMember whfcl:ClassBUnitsMember whfcl:ClassBUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Diversified Support Services Diversified Support Services Diversified Support Services  
Acquisition Date Jul. 12, 2021 Jul. 12, 2021    
Principal/Share Amount $ 1,250 $ 1,250    
Investments, amortized cost 1,250 1,250    
Investments, fair value $ 951 $ 774    
Percent of net assets 0.40% 0.30% 0.40%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Motivational Marketing, LLC (d/b/a Motivational Fulfillment), LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:MotivationalMarketingLLCMember whfcl:MotivationalMarketingLLCMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Diversified Support Services Diversified Support Services Diversified Support Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Canadian Overnight Repo Rate Average Three Months Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.50% 6.50% 6.50%  
Interest Rate 10.13% 10.48% 10.13%  
Acquisition Date Jul. 12, 2021 Jul. 12, 2021    
Maturity Date Jul. 12, 2028 Jul. 12, 2028 Jul. 12, 2028  
Principal/Share Amount $ 945 $ 630    
Investments, amortized cost 940 626    
Investments, fair value $ 949 $ 637    
Percent of net assets 0.40% 0.20% 0.40%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Motivational Marketing, LLC (d/b/a Motivational Fulfillment), LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:MotivationalMarketingLLCMember whfcl:MotivationalMarketingLLCMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Diversified Support Services Diversified Support Services Diversified Support Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Base Rate [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.50% 6.50% 6.50%  
Interest Rate 10.13% 10.37% 10.13%  
Acquisition Date Jul. 12, 2021 Jul. 12, 2021    
Maturity Date Jul. 12, 2028 Jul. 12, 2028 Jul. 12, 2028  
Principal/Share Amount $ 13,109 $ 13,175    
Investments, amortized cost 13,052 13,104    
Investments, fair value $ 13,109 $ 13,135    
Percent of net assets 5.20% 5.00% 5.20%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: NM Z Holdco Inc First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments   Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:NmZHoldcoInc.Member      
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember   whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Household Products   Household Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Prime Rate [Member]   Prime Rate [Member]  
Floor 1.00%   1.00%  
Spread Above Index 6.50%   6.50%  
Interest Rate 13.25%   13.25%  
Cash interest rate 10.75%   10.75%  
PIK interest rate 2.50%   2.50%  
Acquisition Date Mar. 16, 2026      
Maturity Date Jun. 30, 2031   Jun. 30, 2031  
Investments, fair value $ 6      
Investment, Restriction Status [true false] true   true  
Investment, Significant Unobservable Input [true false] true   true  
Investment, Non-income Producing [true false] false   false  
Investment, Identifier [Axis]: NM Z Holdco Inc. (d/b/a Zep, Inc.) First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] NM Z Holdco Inc Zep, Inc [Member] NM Z Holdco Inc Zep, Inc [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Household Products Household Products Household Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.00% 5.00% 5.00%  
Interest Rate 8.73% 8.67% 8.73%  
Acquisition Date Mar. 16, 2026 Aug. 12, 2025    
Maturity Date Jun. 30, 2031 Jun. 30, 2031 Jun. 30, 2031  
Investments, fair value $ 7 $ 6    
Investment, Identifier [Axis]: NM Z Holdco Inc. (d/b/a Zep, Inc.) First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] NM Z Holdco Inc Zep, Inc [Member] NM Z Holdco Inc Zep, Inc [Member]    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Household Products Household Products Household Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.00% 5.00% 5.00%  
Interest Rate 8.73% 8.67% 8.73%  
Acquisition Date Aug. 12, 2025 Aug. 12, 2025    
Maturity Date Jun. 30, 2031 Jun. 30, 2031 Jun. 30, 2031  
Principal/Share Amount $ 10,336 $ 10,388    
Investments, amortized cost 10,250 10,293    
Investments, fair value $ 10,412 $ 10,378    
Investment, Identifier [Axis]: NNA Services, LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:NNAServicesLLCMember whfcl:NNAServicesLLCMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Education Services Education Services Education Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.75% 6.75% 6.75%  
Interest Rate 10.63% 10.57% 10.63%  
Acquisition Date Aug. 27, 2021 Aug. 27, 2021    
Maturity Date Aug. 28, 2028 Aug. 27, 2026 Aug. 28, 2028  
Principal/Share Amount $ 7,927 $ 8,073    
Investments, amortized cost 7,922 8,060    
Investments, fair value $ 7,903 $ 8,037    
Percent of net assets 3.10% 3.10% 3.10%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: NPAV Lessor Corp. First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:NPAVLessorCorp.Member whfcl:NPAVLessorCorp.Member    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Real Estate Services [Member] Real Estate Services [Member] Real Estate Services [Member]  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.50% 6.50% 6.50%  
Interest Rate 10.24% 10.32% 10.24%  
Acquisition Date Mar. 01, 2022 Mar. 01, 2022    
Maturity Date Jan. 21, 2027 Jan. 21, 2027 Jan. 21, 2027  
Principal/Share Amount $ 725 $ 725    
Investments, amortized cost 723 722    
Investments, fair value $ 678 $ 660    
Investment, Identifier [Axis]: NPAV Lessor Corp. First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:NPAVLessorCorp.Member whfcl:NPAVLessorCorp.Member    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Real Estate Services [Member] Real Estate Services [Member] Real Estate Services [Member]  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.50% 6.50% 6.50%  
Interest Rate 10.24% 10.32% 10.24%  
Acquisition Date Mar. 01, 2022 Mar. 01, 2022    
Maturity Date Jan. 21, 2027 Jan. 21, 2027 Jan. 21, 2027  
Principal/Share Amount $ 5,314 $ 5,517    
Investments, amortized cost 5,302 5,493    
Investments, fair value $ 4,969 $ 5,022    
Investment, Identifier [Axis]: New American Crafts Holdings, LLC Class A Units        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration]   whfcl:NewAmericanCraftsHoldingsLlcMember    
Investment, Type [Extensible Enumeration]   whfcl:ClassAUnitsMember    
Investment, Identifier [Axis]: Oil amp; Gas Storage amp; Transportation First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration]   Non-controlled/non-affiliate company investments    
Investment, Issuer Name [Extensible Enumeration]   whfcl:IslandEnergyServicesLlcMember    
Investment, Type [Extensible Enumeration]   First Lien Secured Term Loan [Member]    
Investment, Issuer Geographic Region [Extensible Enumeration]   srt:NorthAmericaMember    
Investment, Industry Sector [Extensible Enumeration]   Oil & Gas Storage & Transportation    
Investment, Variable Interest Rate, Type [Extensible Enumeration]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]    
Floor   0.50%    
Spread Above Index   5.75%    
Interest Rate   9.64%    
Acquisition Date   Jul. 16, 2025    
Maturity Date   Jul. 16, 2032    
Principal/Share Amount   $ 10,472    
Investments, amortized cost   10,077    
Investments, fair value   $ 10,158    
Percent of net assets   3.90%    
Investment, Restriction Status [true false]   true    
Investment, Significant Unobservable Input [true false]   true    
Investment, Non-income Producing [true false]   false    
Investment, Identifier [Axis]: PANOS Brands, LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration]   Non-controlled/non-affiliate company investments    
Investment, Issuer Name [Extensible Enumeration] Panos Brands, Llc [Member] Panos Brands, Llc [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Packaged Foods & Meats Packaged Foods & Meats Packaged Foods & Meats  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Prime Rate [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Prime Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 4.75% 5.75% 4.75%  
Interest Rate 8.66% 9.48% 8.66%  
Acquisition Date Jun. 14, 2024 May 14, 2024    
Maturity Date May 14, 2029 May 14, 2029 May 14, 2029  
Principal/Share Amount $ 61      
Investments, amortized cost 60      
Investments, fair value $ 66 $ 6    
Investment, Restriction Status [true false]   true    
Investment, Significant Unobservable Input [true false]   true    
Investment, Non-income Producing [true false]   false    
Investment, Identifier [Axis]: PANOS Brands, LLC First Lien Secured Revolving Loan One        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments   Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Panos Brands, Llc [Member] Panos Brands, Llc [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Packaged Foods & Meats Packaged Foods & Meats Packaged Foods & Meats  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Prime Rate [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Prime Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 4.75% 5.75% 4.75%  
Interest Rate 11.50% 9.48% 11.50%  
Acquisition Date May 14, 2024 Jun. 14, 2024    
Maturity Date May 14, 2029 May 14, 2029 May 14, 2029  
Principal/Share Amount $ 55      
Investments, amortized cost 54      
Investments, fair value $ 59 $ 6    
Investment, Restriction Status [true false] true   true  
Investment, Significant Unobservable Input [true false] true   true  
Investment, Non-income Producing [true false] false   false  
Investment, Identifier [Axis]: PANOS Brands, LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] Panos Brands, Llc [Member]      
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member]   First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Packaged Foods & Meats   Packaged Foods & Meats  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member]   Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00%   1.00%  
Spread Above Index 5.75%   5.75%  
Interest Rate 8.66%   8.66%  
Acquisition Date Jun. 14, 2024      
Maturity Date May 14, 2029   May 14, 2029  
Principal/Share Amount $ 3,963      
Investments, amortized cost 3,918      
Investments, fair value $ 3,963      
Investment, Identifier [Axis]: PANOS Brands, LLC First Lien Secured Term Loan One        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments   Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Panos Brands, Llc [Member] Panos Brands, Llc [Member]    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Packaged Foods & Meats Packaged Foods & Meats Packaged Foods & Meats  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.75% 5.75% 5.75%  
Interest Rate 9.39% 9.48% 9.39%  
Acquisition Date May 14, 2024 Jun. 14, 2024    
Maturity Date May 14, 2029 May 14, 2029 May 14, 2029  
Principal/Share Amount $ 3,567 $ 4,475    
Investments, amortized cost 3,526 4,414    
Investments, fair value $ 3,567 $ 4,475    
Percent of net assets 1.40%   1.40%  
Investment, Restriction Status [true false] true   true  
Investment, Significant Unobservable Input [true false] true   true  
Investment, Non-income Producing [true false] false   false  
Investment, Identifier [Axis]: PANOS Brands, LLC First Lien Secured Term Loan, One 05/14/29        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration]   Non-controlled/non-affiliate company investments    
Investment, Issuer Name [Extensible Enumeration]   Panos Brands, Llc [Member]    
Investment, Type [Extensible Enumeration]   First Lien Secured Term Loan [Member]    
Investment, Issuer Geographic Region [Extensible Enumeration]   srt:NorthAmericaMember    
Investment, Industry Sector [Extensible Enumeration]   Packaged Foods & Meats    
Investment, Variable Interest Rate, Type [Extensible Enumeration]   Secured Overnight Financing Rate (SOFR) One Month Term [Member]    
Floor   1.00%    
Spread Above Index   5.75%    
Interest Rate   9.48%    
Acquisition Date   May 14, 2024    
Maturity Date   May 14, 2029    
Principal/Share Amount   $ 4,027    
Investments, amortized cost   3,973    
Investments, fair value   $ 4,027    
Percent of net assets   1.60%    
Investment, Restriction Status [true false]   true    
Investment, Significant Unobservable Input [true false]   true    
Investment, Non-income Producing [true false]   false    
Investment, Identifier [Axis]: PFB Holding Company, LLC Class A Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:PfbHoldingCompanyLlcMember whfcl:PFBHoldcoIncMember    
Investment, Type [Extensible Enumeration] whfcl:ClassAUnitsMember whfcl:ClassAUnitsMember whfcl:ClassAUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Building Products Building Products Building Products  
Acquisition Date Dec. 17, 2021 Dec. 17, 2021    
Principal/Share Amount $ 1 $ 1    
Investments, amortized cost $ 24 $ 24    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: PGI Parent LLC (d/b/a Prime Electric, Inc.), First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration]   Non-controlled/non-affiliate company investments    
Investment, Issuer Name [Extensible Enumeration]   whfcl:PgiParentLlcMember    
Investment, Type [Extensible Enumeration]   whfcl:FirstLienSecuredRevolvingLoanMember    
Investment, Issuer Geographic Region [Extensible Enumeration]   srt:NorthAmericaMember    
Investment, Industry Sector [Extensible Enumeration]   Construction & Engineering    
Investment, Variable Interest Rate, Type [Extensible Enumeration]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]    
Floor   1.00%    
Spread Above Index   5.00%    
Interest Rate   8.67%    
Acquisition Date   Dec. 31, 2025    
Maturity Date   Dec. 31, 2031    
Investment, Restriction Status [true false]   true    
Investment, Significant Unobservable Input [true false]   true    
Investment, Non-income Producing [true false]   false    
Investment, Identifier [Axis]: PGI Parent LLC (d/b/a Prime Electric, Inc.), First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration]   Non-controlled/non-affiliate company investments    
Investment, Issuer Name [Extensible Enumeration]   whfcl:PgiParentLlcMember    
Investment, Type [Extensible Enumeration]   First Lien Secured Term Loan [Member]    
Investment, Issuer Geographic Region [Extensible Enumeration]   srt:NorthAmericaMember    
Investment, Industry Sector [Extensible Enumeration]   Construction & Engineering    
Investment, Variable Interest Rate, Type [Extensible Enumeration]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]    
Floor   1.00%    
Spread Above Index   5.00%    
Interest Rate   8.67%    
Acquisition Date   Dec. 31, 2025    
Maturity Date   Dec. 31, 2031    
Principal/Share Amount   $ 5,077    
Investments, amortized cost   5,026    
Investments, fair value   $ 5,026    
Percent of net assets   1.90%    
Investment, Restriction Status [true false]   true    
Investment, Significant Unobservable Input [true false]   true    
Investment, Non-income Producing [true false]   false    
Investment, Identifier [Axis]: PGI Parent LLC, First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:PgiParentLlcMember      
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember   whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Construction & Engineering   Construction & Engineering  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Prime Rate [Member]   Prime Rate [Member]  
Floor 1.00%   1.00%  
Spread Above Index 4.00%   4.00%  
Interest Rate 10.75%   10.75%  
Acquisition Date Jan. 16, 2026      
Maturity Date Dec. 31, 2031   Dec. 31, 2031  
Principal/Share Amount $ 375      
Investments, amortized cost 372      
Investments, fair value $ 376      
Investment, Identifier [Axis]: PGI Parent LLC, First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:PgiParentLlcMember      
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member]   First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Construction & Engineering   Construction & Engineering  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00%   1.00%  
Spread Above Index 5.00%   5.00%  
Interest Rate 8.73%   8.73%  
Acquisition Date Jan. 16, 2026      
Maturity Date Dec. 31, 2031   Dec. 31, 2031  
Principal/Share Amount $ 5,052      
Investments, amortized cost 5,005      
Investments, fair value $ 5,027      
Investment, Identifier [Axis]: Patagonia Holdco LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration]   Non-controlled/non-affiliate company investments    
Investment, Issuer Name [Extensible Enumeration]   whfcl:PatagoniaHoldcoLLCMember    
Investment, Type [Extensible Enumeration]   First Lien Secured Term Loan [Member]    
Investment, Issuer Geographic Region [Extensible Enumeration]   srt:NorthAmericaMember    
Investment, Industry Sector [Extensible Enumeration]   Integrated Telecommunication Services    
Investment, Variable Interest Rate, Type [Extensible Enumeration]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]    
Floor   0.50%    
Spread Above Index   5.75%    
Interest Rate   9.62%    
Acquisition Date   Aug. 05, 2022    
Maturity Date   Aug. 01, 2029    
Principal/Share Amount   $ 14,150    
Investments, amortized cost   12,839    
Investments, fair value   $ 11,603    
Percent of net assets   4.50%    
Investment, Restriction Status [true false]   true    
Investment, Significant Unobservable Input [true false]   true    
Investment, Non-income Producing [true false]   false    
Investment, Identifier [Axis]: Pirtek Holdco, LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:PirtekHoldcoLLCMember whfcl:PirtekHoldcoLLCMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Diversified Support Services Diversified Support Services Diversified Support Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Six Month Term [Member] Base Rate [Member] Secured Overnight Financing Rate (SOFR) Six Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 4.50% 4.50% 4.50%  
Interest Rate 8.17% 8.20% 8.17%  
Acquisition Date Oct. 31, 2023 Oct. 31, 2023    
Maturity Date Oct. 26, 2028 Oct. 26, 2028 Oct. 26, 2028  
Investments, fair value $ 10 $ 9    
Investment, Identifier [Axis]: Pirtek Holdco, LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:PirtekHoldcoLLCMember whfcl:PirtekHoldcoLLCMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Diversified Support Services Diversified Support Services Diversified Support Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Six Month Term [Member] Base Rate [Member] Secured Overnight Financing Rate (SOFR) Six Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 4.50% 4.50% 4.50%  
Interest Rate 8.17% 8.20% 8.17%  
Acquisition Date Oct. 31, 2023 Oct. 31, 2023    
Maturity Date Oct. 26, 2028 Oct. 26, 2028 Oct. 26, 2028  
Principal/Share Amount $ 12,247 $ 12,389    
Investments, amortized cost 12,162 12,284    
Investments, fair value $ 12,247 $ 12,332    
Investment, Identifier [Axis]: Playmonster Group Equity Inc Common Equity        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:PlaymonsterGroupEquityIncMember      
Investment, Type [Extensible Enumeration] Common Stock [Member]   Common Stock [Member]  
Investment, Identifier [Axis]: Playmonster Group Equity Inc Preferred Equity        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:PlaymonsterGroupEquityIncMember      
Investment, Type [Extensible Enumeration] us-gaap:PreferredStockMember   us-gaap:PreferredStockMember  
Investment, Identifier [Axis]: Playmonster Group Equity, Inc Common Stock        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:PlaymonsterGroupEquityIncMember whfcl:PlaymonsterGroupEquityIncMember    
Investment, Type [Extensible Enumeration] Common Stock [Member] Common Stock [Member] Common Stock [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Leisure Products Leisure Products Leisure Products  
Acquisition Date Jan. 24, 2022 Jan. 24, 2022    
Principal/Share Amount $ 72 $ 72    
Investments, amortized cost $ 460 $ 460    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Playmonster Group Equity, Inc. Preferred Stock        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:PlaymonsterGroupEquityIncMember whfcl:PlaymonsterGroupEquityIncMember    
Investment, Type [Extensible Enumeration] us-gaap:PreferredStockMember us-gaap:PreferredStockMember us-gaap:PreferredStockMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Leisure Products Leisure Products Leisure Products  
Spread Above Index 14.00% 14.00% 14.00%  
PIK interest rate 14.00% 14.00% 14.00%  
Acquisition Date Jan. 24, 2022 Jan. 24, 2022    
Principal/Share Amount $ 36 $ 36    
Investments, amortized cost $ 3,600 $ 3,600    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false true false  
Investment, Identifier [Axis]: Playmonster Group LLC, First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:PlaymonsterGroupLLCMember whfcl:PlaymonsterGroupLLCMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Leisure Products Leisure Products Leisure Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 9.00% 9.00% 9.00%  
PIK interest rate 12.81% 12.99% 12.81%  
Acquisition Date Jun. 07, 2021 Jun. 07, 2021    
Maturity Date Jun. 29, 2028 Jun. 08, 2026 Jun. 29, 2028  
Principal/Share Amount $ 5,964 $ 5,595    
Investments, amortized cost 3,661 3,661    
Investments, fair value $ 2,426 $ 1,729   1,635
Percent of net assets 1.00% 0.70% 1.00%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Playmonster Group LLC, Priority First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:PlaymonsterGroupLLCMember whfcl:PlaymonsterGroupLLCMember    
Investment, Type [Extensible Enumeration] whfcl:PriorityFirstLienSecuredTermLoanMember whfcl:PriorityFirstLienSecuredTermLoanMember whfcl:PriorityFirstLienSecuredTermLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Leisure Products Leisure Products Leisure Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.72% 6.75% 6.72%  
PIK interest rate 10.10% 10.74% 10.10%  
Acquisition Date Dec. 09, 2022 Dec. 09, 2022    
Maturity Date Jun. 29, 2028 Jun. 08, 2026 Jun. 29, 2028  
Principal/Share Amount $ 1,592 $ 1,442    
Investments, amortized cost 1,589 1,438    
Investments, fair value $ 1,592 $ 1,355   1,172
Percent of net assets 0.60% 0.50% 0.60%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Pressurized Holdings, LLC Common Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:PressurizedHoldingsLlcMember whfcl:PressurizedHoldingsLlcMember    
Investment, Type [Extensible Enumeration] whfcl:CommonUnitsMember whfcl:CommonUnitsMember whfcl:CommonUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Diversified Chemicals Diversified Chemicals Diversified Chemicals  
Acquisition Date Mar. 16, 2023 Mar. 16, 2023    
Investments, fair value $ 1,944      
Percent of net assets 0.80%   0.80%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Pressurized Holdings, LLC Preferred Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:PressurizedHoldingsLlcMember whfcl:PressurizedHoldingsLlcMember    
Investment, Type [Extensible Enumeration] whfcl:PreferredUnitsMember whfcl:PreferredUnitsMember whfcl:PreferredUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Diversified Chemicals Diversified Chemicals Diversified Chemicals  
Spread Above Index 14.00% 14.00% 14.00%  
PIK interest rate 14.00% 14.00% 14.00%  
Acquisition Date Mar. 16, 2023 Mar. 16, 2023    
Investments, amortized cost $ 4,537 $ 4,537    
Investments, fair value $ 8,294 $ 4,784   1,657
Percent of net assets 3.30% 1.80% 3.30%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false true false  
Investment, Identifier [Axis]: Principal Lighting Group, LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:PrincipalLightingGroupLlcMember whfcl:PrincipalLightingGroupLlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Electrical Components And Equipment [Member] Electrical Components And Equipment [Member] Electrical Components And Equipment [Member]  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Base Rate [Member] Base Rate [Member] Base Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.25% 5.25% 5.25%  
Interest Rate 8.92% 8.96% 8.92%  
Acquisition Date Dec. 03, 2024 Dec. 03, 2024    
Maturity Date Nov. 04, 2030 Nov. 04, 2030 Nov. 04, 2030  
Investments, fair value $ 5 $ 4    
Investment, Identifier [Axis]: Principal Lighting Group, LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:PrincipalLightingGroupLlcMember whfcl:PrincipalLightingGroupLlcMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Electrical Components And Equipment [Member] Electrical Components And Equipment [Member] Electrical Components And Equipment [Member]  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Base Rate [Member] Base Rate [Member] Base Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.25% 5.25% 5.25%  
Interest Rate 8.92% 8.96% 8.92%  
Acquisition Date Dec. 03, 2024 Dec. 03, 2024    
Maturity Date Nov. 04, 2030 Nov. 04, 2030 Nov. 04, 2030  
Principal/Share Amount $ 3,278 $ 3,353    
Investments, amortized cost 3,242 3,312    
Investments, fair value $ 3,278 $ 3,343    
Investment, Identifier [Axis]: Quest Events, LLC Common Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Quest Events, LLC [Member] Quest Events, LLC [Member]    
Investment, Type [Extensible Enumeration] whfcl:CommonUnitsMember whfcl:CommonUnitsMember whfcl:CommonUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Diversified Support Services Diversified Support Services Diversified Support Services  
Acquisition Date Dec. 28, 2018 Dec. 28, 2018    
Principal/Share Amount $ 402 $ 385    
Investments, amortized cost $ 402 $ 385    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Quest Events, LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Quest Events, LLC [Member] Quest Events, LLC [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Diversified Support Services Diversified Support Services Diversified Support Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 7.50% 7.50% 7.50%  
Interest Rate 11.43% 11.48% 11.43%  
Acquisition Date Mar. 21, 2025 Mar. 21, 2025    
Maturity Date Sep. 30, 2027 Sep. 30, 2027 Sep. 30, 2027  
Principal/Share Amount $ 129 $ 124    
Investments, amortized cost 128 122    
Investments, fair value $ 130 $ 113    
Percent of net assets 0.10%   0.10%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Quest Events, LLC First Lien Secured Revolving Loan One        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] Quest Events, LLC [Member] Quest Events, LLC [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Diversified Support Services Diversified Support Services Diversified Support Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 7.50% 7.50% 7.50%  
Interest Rate 11.43% 11.48% 11.43%  
Acquisition Date Jul. 19, 2019 Jul. 19, 2019    
Maturity Date Sep. 30, 2027 Sep. 30, 2027 Sep. 30, 2027  
Principal/Share Amount $ 300 $ 288    
Investments, amortized cost 300 288    
Investments, fair value $ 300 $ 262    
Investment, Identifier [Axis]: Quest Events, LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Quest Events, LLC [Member] Quest Events, LLC [Member]    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Diversified Support Services Diversified Support Services Diversified Support Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.75% 6.75% 6.75%  
Interest Rate 10.41% 10.48% 10.41%  
Acquisition Date Sep. 13, 2024 Sep. 13, 2024    
Maturity Date Sep. 30, 2027 Sep. 30, 2027 Sep. 30, 2027  
Principal/Share Amount $ 1,281 $ 1,270    
Investments, amortized cost 1,272 1,258    
Investments, fair value $ 1,281 $ 1,187    
Percent of net assets 0.50% 0.50% 0.50%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Quest Events, LLC First Lien Secured Term Loan One        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] Quest Events, LLC [Member] Quest Events, LLC [Member]    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Diversified Support Services Diversified Support Services Diversified Support Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 2.00% 2.00% 2.00%  
Spread Above Index 7.50% 7.50% 7.50%  
Interest Rate 11.43% 11.48% 11.43%  
Acquisition Date Jul. 19, 2019 Jul. 19, 2019    
Maturity Date Sep. 30, 2027 Sep. 30, 2027 Sep. 30, 2027  
Principal/Share Amount $ 11,806 $ 11,668    
Investments, amortized cost 11,797 11,655    
Investments, fair value $ 11,806 $ 11,041    
Investment, Identifier [Axis]: RCKC Acquisitions LLC First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:RCKCAcquisitionsLLCMember whfcl:RCKCAcquisitionsLLCMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] IT Consulting And Other Services IT Consulting And Other Services IT Consulting And Other Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.50% 5.50% 5.50%  
Interest Rate 9.31% 9.49% 9.31%  
Acquisition Date Jan. 27, 2021 Jan. 27, 2021    
Maturity Date Jan. 02, 2029 Jan. 02, 2029 Jan. 02, 2029  
Principal/Share Amount $ 2,901 $ 2,916    
Investments, amortized cost 2,886 2,898    
Investments, fair value $ 2,784 $ 2,827    
Investment, Identifier [Axis]: RCKC Acquisitions LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:RCKCAcquisitionsLLCMember whfcl:RCKCAcquisitionsLLCMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] IT Consulting And Other Services IT Consulting And Other Services IT Consulting And Other Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.50% 5.50% 5.50%  
Interest Rate 9.31% 9.49% 9.31%  
Acquisition Date Jan. 27, 2021 Jan. 27, 2021    
Maturity Date Jan. 02, 2029 Jan. 02, 2029 Jan. 02, 2029  
Investments, fair value $ (50) $ (35)    
Investment, Identifier [Axis]: RCKC Acquisitions LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:RCKCAcquisitionsLLCMember whfcl:RCKCAcquisitionsLLCMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] IT Consulting And Other Services IT Consulting And Other Services IT Consulting And Other Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.50% 5.50% 5.50%  
Interest Rate 9.38% 9.32% 9.38%  
Acquisition Date Jan. 27, 2021 Jan. 27, 2021    
Maturity Date Jan. 02, 2029 Jan. 02, 2029 Jan. 02, 2029  
Principal/Share Amount $ 10,752 $ 10,809    
Investments, amortized cost 10,700 10,747    
Investments, fair value $ 10,321 $ 10,481    
Investment, Identifier [Axis]: RLJ Pro-Vac, Inc. First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:RLJPro-VacInc.Member whfcl:RLJPro-VacInc.Member    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Environmental & Facilities Services Environmental & Facilities Services Environmental & Facilities Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 7.25% 6.75% 7.25%  
Interest Rate 10.99% 10.72% 10.99%  
Cash interest rate 10.49%   10.49%  
PIK interest rate 0.50%   0.50%  
Acquisition Date Jan. 23, 2024 Jan. 23, 2024    
Maturity Date Jan. 03, 2028 Dec. 31, 2026 Jan. 03, 2028  
Principal/Share Amount $ 6,573 $ 6,592    
Investments, amortized cost 6,540 6,546    
Investments, fair value $ 6,409 $ 6,396    
Investment, Identifier [Axis]: Rewards Network Inc. First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:RewardsNetworkInc.Member whfcl:RewardsNetworkInc.Member    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Specialized Finance Specialized Finance Specialized Finance  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 0.75% 0.75% 0.75%  
Spread Above Index 6.00% 6.00% 6.00%  
Interest Rate 9.65% 9.76% 9.65%  
Acquisition Date Dec. 05, 2025 Dec. 05, 2025    
Maturity Date Dec. 05, 2031 Dec. 05, 2031 Dec. 05, 2031  
Investments, fair value $ 20      
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Rewards Network Inc. First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:RewardsNetworkInc.Member whfcl:RewardsNetworkInc.Member    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Specialized Finance Specialized Finance Specialized Finance  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Prime Rate [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Prime Rate [Member]  
Floor 0.75% 0.75% 0.75%  
Spread Above Index 5.00% 6.00% 5.00%  
Interest Rate 11.75% 9.82% 11.75%  
Acquisition Date Dec. 05, 2025 Dec. 05, 2025    
Maturity Date Dec. 05, 2031 Dec. 05, 2031 Dec. 05, 2031  
Principal/Share Amount $ 160 $ 638    
Investments, amortized cost 157 627    
Investments, fair value $ 178 $ 627    
Percent of net assets 0.10% 0.20% 0.10%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Rewards Network Inc. First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:RewardsNetworkInc.Member whfcl:RewardsNetworkInc.Member    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Specialized Finance Specialized Finance Specialized Finance  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 0.75% 0.75% 0.75%  
Spread Above Index 6.00% 6.00% 6.00%  
Interest Rate 9.65% 9.76% 9.65%  
Acquisition Date Dec. 05, 2025 Dec. 05, 2025    
Maturity Date Dec. 05, 2031 Dec. 05, 2031 Dec. 05, 2031  
Principal/Share Amount $ 10,187 $ 10,213    
Investments, amortized cost 10,026 10,036    
Investments, fair value $ 10,109 $ 10,034    
Percent of net assets 4.00% 3.90% 4.00%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Ribbon Communications Operating Company, Inc. (d/b/a Ribbon Communications Inc.) First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Ribbon Communications Operating Company, Inc. [Member] Ribbon Communications Operating Company, Inc. [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Systems Software Systems Software Systems Software  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Prime Rate [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Prime Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.25% 6.25% 6.25%  
Interest Rate 9.89% 9.97% 9.89%  
Acquisition Date Jun. 21, 2024 Jun. 21, 2024    
Maturity Date Jun. 21, 2029 Jun. 21, 2029 Jun. 21, 2029  
Investments, fair value $ 8 $ 12    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Ribbon Communications Operating Company, Inc. (d/b/a Ribbon Communications Inc.) First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Ribbon Communications Operating Company, Inc. [Member] Ribbon Communications Operating Company, Inc. [Member]    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Systems Software Systems Software Systems Software  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.25% 6.25% 6.25%  
Interest Rate 9.89% 9.97% 9.89%  
Acquisition Date Jun. 21, 2024 Jun. 21, 2024    
Maturity Date Jun. 21, 2029 Jun. 21, 2029 Jun. 21, 2029  
Principal/Share Amount $ 8,492 $ 8,602    
Investments, amortized cost 8,392 8,483    
Investments, fair value $ 8,470 $ 8,631    
Percent of net assets 3.30% 3.30% 3.30%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Ross-Simons Topco, LP Preferred Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:Ross-SimonsTopcoLPMember whfcl:Ross-SimonsTopcoLPMember    
Investment, Type [Extensible Enumeration] whfcl:PreferredUnitsMember whfcl:PreferredUnitsMember whfcl:PreferredUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Other Specialty Retail Other Specialty Retail Other Specialty Retail  
Spread Above Index 8.00% 8.00% 8.00%  
PIK interest rate 8.00% 8.00% 8.00%  
Acquisition Date Dec. 04, 2020 Dec. 04, 2020    
Principal/Share Amount $ 600 $ 600    
Investments, amortized cost 514 514    
Investments, fair value $ 625 $ 735    
Percent of net assets 0.20% 0.30% 0.20%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: SCIC Buyer, Inc. First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:ScicBuyerInc.Member whfcl:ScicBuyerInc.Member    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Building Products Building Products Building Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 4.75% 4.75% 4.75%  
Interest Rate 8.48% 8.42% 8.48%  
Acquisition Date Jun. 04, 2025 Jun. 04, 2025    
Maturity Date Mar. 28, 2031 Mar. 28, 2031 Mar. 28, 2031  
Principal/Share Amount   $ 295    
Investments, amortized cost   293    
Investments, fair value $ 27 $ 319    
Investment, Identifier [Axis]: SCIC Buyer, Inc. First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:ScicBuyerInc.Member whfcl:ScicBuyerInc.Member    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Building Products Building Products Building Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 4.75% 4.75% 4.75%  
Interest Rate 8.48% 8.42% 8.48%  
Acquisition Date Jun. 04, 2025 Jun. 04, 2025    
Maturity Date Mar. 28, 2031 Mar. 28, 2031 Mar. 28, 2031  
Investments, fair value $ 23 $ 25    
Investment, Identifier [Axis]: SCIC Buyer, Inc. First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:ScicBuyerInc.Member whfcl:ScicBuyerInc.Member    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Building Products Building Products Building Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 4.75% 4.75% 4.75%  
Interest Rate 8.48% 8.42% 8.48%  
Acquisition Date Jun. 04, 2025 Jun. 04, 2025    
Maturity Date Mar. 28, 2031 Mar. 28, 2031 Mar. 28, 2031  
Principal/Share Amount $ 9,045 $ 9,090    
Investments, amortized cost 8,936 8,970    
Investments, fair value $ 9,135 $ 9,142    
Investment, Identifier [Axis]: Salon Republic Holdings, LLC (d/b/a Salon Republic, LLC) First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:SalonRepublicHoldingsLlcMember whfcl:SalonRepublicHoldingsLlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Specialized Consumer Services Specialized Consumer Services Specialized Consumer Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 8.00% 8.00% 8.00%  
Interest Rate 11.74% 11.82% 11.74%  
Acquisition Date Dec. 02, 2022 Dec. 02, 2022    
Maturity Date Dec. 02, 2027 Dec. 02, 2027 Dec. 02, 2027  
Principal/Share Amount $ 1,643 $ 1,652    
Investments, amortized cost 1,634 1,637    
Investments, fair value $ 1,642 $ 1,653    
Percent of net assets 0.60% 0.60% 0.60%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Salon Republic Holdings, LLC (d/b/a Salon Republic, LLC) First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:SalonRepublicHoldingsLlcMember whfcl:SalonRepublicHoldingsLlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Specialized Consumer Services Specialized Consumer Services Specialized Consumer Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 8.00% 8.00% 8.00%  
Interest Rate 11.74% 11.82% 11.74%  
Acquisition Date Dec. 02, 2022 Dec. 02, 2022    
Maturity Date Dec. 02, 2027 Dec. 02, 2027 Dec. 02, 2027  
Investments, fair value $ 7 $ 8    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Salon Republic Holdings, LLC (d/b/a Salon Republic, LLC) First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:SalonRepublicHoldingsLlcMember whfcl:SalonRepublicHoldingsLlcMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Specialized Consumer Services Specialized Consumer Services Specialized Consumer Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 8.00% 8.00% 8.00%  
Interest Rate 11.74% 11.82% 11.74%  
Acquisition Date Dec. 02, 2022 Dec. 02, 2022    
Maturity Date Dec. 02, 2027 Dec. 02, 2027 Dec. 02, 2027  
Principal/Share Amount $ 5,009 $ 5,032    
Investments, amortized cost 4,967 4,974    
Investments, fair value $ 5,008 $ 5,021    
Percent of net assets 2.00% 1.90% 2.00%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Salon Republic Investments LLC Common Stock        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:SalonRepublicInvestmentsLlcMember whfcl:SalonRepublicInvestmentsLlcMember    
Investment, Type [Extensible Enumeration] Common Stock [Member] Common Stock [Member] Common Stock [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Specialized Consumer Services Specialized Consumer Services Specialized Consumer Services  
Acquisition Date Dec. 02, 2022 Dec. 02, 2022    
Principal/Share Amount $ 400 $ 400    
Investments, amortized cost $ 400 400    
Investments, fair value   $ 6    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Salon Republic Investments LLC Preferred Stock        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:SalonRepublicInvestmentsLlcMember whfcl:SalonRepublicInvestmentsLlcMember    
Investment, Type [Extensible Enumeration] us-gaap:PreferredStockMember us-gaap:PreferredStockMember us-gaap:PreferredStockMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Specialized Consumer Services Specialized Consumer Services Specialized Consumer Services  
Spread Above Index 8.00% 8.00% 8.00%  
PIK interest rate 8.00% 8.00% 8.00%  
Acquisition Date Dec. 02, 2022 Dec. 02, 2022    
Principal/Share Amount $ 200 $ 200    
Investments, amortized cost 200 200    
Investments, fair value $ 235 $ 265    
Percent of net assets 0.10% 0.10% 0.10%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false true false  
Investment, Identifier [Axis]: Sleep OpCo LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:SleepOpCoLLCMember whfcl:SleepOpCoLLCMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Home Furnishings Home Furnishings Home Furnishings  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.50% 5.50% 5.50%  
Interest Rate 9.15% 9.37% 9.15%  
Acquisition Date Nov. 07, 2025 Nov. 07, 2025    
Maturity Date Nov. 07, 2030 Nov. 07, 2030 Nov. 07, 2030  
Investments, fair value $ 20      
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Sleep OpCo LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:SleepOpCoLLCMember whfcl:SleepOpCoLLCMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Home Furnishings Home Furnishings Home Furnishings  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.50% 5.50% 5.50%  
Interest Rate 9.15% 9.37% 9.15%  
Acquisition Date Nov. 07, 2025 Nov. 07, 2025    
Maturity Date Nov. 07, 2030 Nov. 07, 2030 Nov. 07, 2030  
Principal/Share Amount $ 13,388 $ 13,455    
Investments, amortized cost 13,213 13,259    
Investments, fair value $ 13,393 $ 13,255    
Percent of net assets 5.30% 5.10% 5.30%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Smalto Inc, First Lien Secured Term Loan One        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:SmaltoInc.Member whfcl:SmaltoInc.Member    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Household Appliances Household Appliances Household Appliances  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.75% 5.75% 5.75%  
Interest Rate 9.63% 9.57% 9.63%  
Acquisition Date May 04, 2022 May 04, 2022    
Maturity Date Apr. 28, 2028 Apr. 28, 2028 Apr. 28, 2028  
Principal/Share Amount $ 944 $ 944    
Investments, amortized cost 938 936    
Investments, fair value $ 944 $ 944    
Investment, Identifier [Axis]: Smalto Inc. First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:SmaltoInc.Member whfcl:SmaltoInc.Member    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Household Appliances Household Appliances Household Appliances  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Euro Interbank Offered Rate Three Month Term [Member] Euro Interbank Offered Rate One Month Term [Member] Euro Interbank Offered Rate Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.00% 6.00% 6.00%  
Interest Rate 8.29% 7.90% 8.29%  
Acquisition Date May 04, 2022 May 04, 2022    
Maturity Date Apr. 28, 2028 Apr. 28, 2028 Apr. 28, 2028  
Principal/Share Amount   $ 6,198 € 6,198  
Investments, amortized cost $ 6,489 6,480    
Investments, fair value $ 7,080 $ 7,281    
Investment, Identifier [Axis]: Snap Fitness Holdings, Inc Class A Common Stock        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:SnapFitnessHoldingsIncMember whfcl:SnapFitnessHoldingsIncMember    
Investment, Type [Extensible Enumeration] us-gaap:CommonClassAMember us-gaap:CommonClassAMember us-gaap:CommonClassAMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Leisure Facilities Leisure Facilities Leisure Facilities  
Acquisition Date Jun. 29, 2020 Jun. 29, 2020    
Principal/Share Amount $ 2 $ 2    
Investments, amortized cost 1,941 1,941    
Investments, fair value $ 434 $ 507    
Percent of net assets 0.20% 0.20% 0.20%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Snap Fitness Holdings, Inc First Lien Secured Term Loan C        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:SnapFitnessHoldingsIncMember whfcl:SnapFitnessHoldingsIncMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredTermLoanCMember whfcl:FirstLienSecuredTermLoanCMember whfcl:FirstLienSecuredTermLoanCMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Leisure Facilities Leisure Facilities Leisure Facilities  
Spread Above Index 9.50% 9.50% 9.50%  
PIK interest rate   9.50%    
PIK interest rate 9.50%   9.50%  
Acquisition Date Jun. 29, 2020 Jun. 29, 2020    
Maturity Date Sep. 30, 2026 Sep. 30, 2026 Sep. 30, 2026  
Principal/Share Amount $ 2,199 $ 2,098    
Investments, amortized cost 2,196 2,095    
Investments, fair value $ 2,199 $ 2,098    
Percent of net assets 0.90% 0.80% 0.90%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Snap Fitness Holdings, Inc Warrants        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:SnapFitnessHoldingsIncMember whfcl:SnapFitnessHoldingsIncMember    
Investment, Type [Extensible Enumeration] Warrant [Member] Warrant [Member] Warrant [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Leisure Facilities Leisure Facilities Leisure Facilities  
Acquisition Date Jun. 29, 2020 Jun. 29, 2020    
Principal/Share Amount $ 1 $ 1    
Investments, amortized cost 793 793    
Investments, fair value $ 176 $ 205    
Percent of net assets 0.10% 0.10% 0.10%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Source Code Holdings, LLC First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:SourceCodeHoldingsLLCMember whfcl:SourceCodeHoldingsLLCMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Technology Hardware, Storage & Peripherals Technology Hardware, Storage & Peripherals Technology Hardware, Storage & Peripherals  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.50% 6.50% 6.50%  
Interest Rate 10.24% 10.32% 10.24%  
Acquisition Date Aug. 10, 2021 Aug. 10, 2021    
Maturity Date Jul. 30, 2027 Jul. 30, 2027 Jul. 30, 2027  
Principal/Share Amount $ 3,785 $ 3,831    
Investments, amortized cost 3,771 3,811    
Investments, fair value $ 3,748 $ 3,831    
Investment, Identifier [Axis]: Source Code Holdings, LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:SourceCodeHoldingsLLCMember whfcl:SourceCodeHoldingsLLCMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Technology Hardware, Storage & Peripherals Technology Hardware, Storage & Peripherals Technology Hardware, Storage & Peripherals  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.50% 6.50% 6.50%  
Interest Rate 10.24% 10.32% 10.24%  
Acquisition Date Aug. 10, 2021 Aug. 10, 2021    
Maturity Date Jul. 30, 2027 Jul. 30, 2027 Jul. 30, 2027  
Principal/Share Amount $ 13,837 $ 14,009    
Investments, amortized cost 13,788 13,935    
Investments, fair value $ 13,703 $ 14,009    
Investment, Identifier [Axis]: Sterling Pure Blocker, LLC (d/b/a Banner Industries, Inc.) Class B Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:SterlingPureBlockerLlcMember whfcl:SterlingPureBlockerLlcMember    
Investment, Type [Extensible Enumeration] whfcl:ClassBUnitsMember whfcl:ClassBUnitsMember whfcl:ClassBUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Construction & Engineering Construction & Engineering Construction & Engineering  
Acquisition Date Dec. 01, 2023 Dec. 01, 2023    
Principal/Share Amount $ 404 $ 404    
Investments, amortized cost 404 404    
Investments, fair value $ 247 $ 57    
Percent of net assets 0.10%   0.10%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Surge Amuze Holdings Inc. First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Surge Amuze Holdings Inc [Member] Surge Amuze Holdings Inc [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Specialized Consumer Services Specialized Consumer Services Specialized Consumer Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Base Rate [Member] Secured Overnight Financing Rate (SOFR) Six Month Term [Member] Base Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.25% 6.25% 6.25%  
Interest Rate 9.89% 9.99% 9.89%  
Acquisition Date Sep. 06, 2024 Sep. 06, 2024    
Maturity Date Sep. 06, 2029 Sep. 06, 2029 Sep. 06, 2029  
Principal/Share Amount $ 2,835 $ 1,002    
Investments, amortized cost 2,792 987    
Investments, fair value $ 2,850 $ 1,000    
Percent of net assets 1.10% 0.40% 1.10%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Surge Amuze Holdings Inc. First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Surge Amuze Holdings Inc [Member] Surge Amuze Holdings Inc [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Specialized Consumer Services Specialized Consumer Services Specialized Consumer Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Base Rate [Member] Base Rate [Member] Base Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.03% 5.90% 6.03%  
Interest Rate 10.34% 10.82% 10.34%  
Acquisition Date Sep. 06, 2024 Sep. 06, 2024    
Maturity Date Sep. 06, 2029 Sep. 06, 2029 Sep. 06, 2029  
Principal/Share Amount $ 732 $ 451    
Investments, amortized cost 722 444    
Investments, fair value $ 732 $ 450    
Percent of net assets 0.30% 0.20% 0.30%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Surge Amuze Holdings Inc. First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Surge Amuze Holdings Inc [Member] Surge Amuze Holdings Inc [Member]    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Specialized Consumer Services Specialized Consumer Services Specialized Consumer Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.25% 6.25% 6.25%  
Interest Rate 9.90% 9.99% 9.90%  
Acquisition Date Sep. 06, 2024 Sep. 06, 2024    
Maturity Date Sep. 06, 2029 Sep. 06, 2029 Sep. 06, 2029  
Principal/Share Amount $ 5,651 $ 5,679    
Investments, amortized cost 5,579 5,596    
Investments, fair value $ 5,649 $ 5,645    
Percent of net assets 2.20% 2.20% 2.20%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: TOT Group, Inc. (d/b/a Netevia Group LLC) First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Tot Group, Inc. [Member] Tot Group, Inc. [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Transaction & Payment Processing Services Transaction & Payment Processing Services Transaction & Payment Processing Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 7.50% 7.25% 7.50%  
Interest Rate 11.23% 10.92% 11.23%  
Acquisition Date Jun. 28, 2024 Jun. 28, 2024    
Maturity Date Jun. 28, 2029 Jun. 28, 2029 Jun. 28, 2029  
Principal/Share Amount $ 1,099 $ 1,103    
Investments, amortized cost 1,083 1,084    
Investments, fair value $ 1,103 $ 1,091    
Percent of net assets 0.40% 0.40% 0.40%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: TOT Group, Inc. (d/b/a Netevia Group LLC) First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Tot Group, Inc. [Member] Tot Group, Inc. [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Transaction & Payment Processing Services Transaction & Payment Processing Services Transaction & Payment Processing Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 7.50% 7.25% 7.50%  
Interest Rate 11.23% 10.92% 11.23%  
Acquisition Date Jun. 28, 2024 Jun. 28, 2024    
Maturity Date Jun. 28, 2029 Jun. 28, 2029 Jun. 28, 2029  
Investments, fair value $ 7 $ 1    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: TOT Group, Inc. (d/b/a Netevia Group LLC) First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Tot Group, Inc. [Member] Tot Group, Inc. [Member]    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Transaction & Payment Processing Services Transaction & Payment Processing Services Transaction & Payment Processing Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 7.50% 7.25% 7.50%  
Interest Rate 11.23% 10.92% 11.23%  
Acquisition Date Jun. 28, 2024 Jun. 28, 2024    
Maturity Date Jun. 28, 2029 Jun. 28, 2029 Jun. 28, 2029  
Principal/Share Amount $ 9,111 $ 9,146    
Investments, amortized cost 8,987 9,000    
Investments, fair value $ 9,109 $ 9,023    
Percent of net assets 3.60% 3.40% 3.60%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: TVG I-EMSI Parent, LLC Class A units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:TvgIEmsiParentLlcMember whfcl:TvgIEmsiParentLlcMember    
Investment, Type [Extensible Enumeration] whfcl:ClassAUnitsMember whfcl:ClassAUnitsMember whfcl:ClassAUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Education Services Education Services Education Services  
Acquisition Date Sep. 01, 2025 Sep. 01, 2025    
Principal/Share Amount $ 20,765 $ 20,765    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: TVG I-EMSI Parent, LLC Class B units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:TvgIEmsiParentLlcMember whfcl:TvgIEmsiParentLlcMember    
Investment, Type [Extensible Enumeration] whfcl:ClassBUnitsMember whfcl:ClassBUnitsMember whfcl:ClassBUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Education Services Education Services Education Services  
Acquisition Date Sep. 01, 2025 Sep. 01, 2025    
Principal/Share Amount $ 2 $ 2    
Investments, amortized cost 3,291 3,291    
Investments, fair value $ 2,531 $ 3,291    
Percent of net assets 1.00% 1.30% 1.00%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: TableTrust Brands LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:TabletrustBrandsLlcMember whfcl:TabletrustBrandsLlcMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Packaged Foods & Meats Packaged Foods & Meats Packaged Foods & Meats  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.00% 5.75% 6.00%  
Interest Rate 8.66% 9.57% 8.66%  
Acquisition Date Dec. 24, 2024 Dec. 24, 2024    
Maturity Date Jun. 28, 2028 Jun. 28, 2028 Jun. 28, 2028  
Principal/Share Amount $ 2,731 $ 2,480    
Investments, amortized cost 2,708 2,453    
Investments, fair value $ 2,716 $ 2,480    
Investment, Identifier [Axis]: Telestream 2 LLC (d/b/a Telestream Holdings Corporation), First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Telestream 2 LLC Telestream Holdings Corporation [Member] Telestream 2 LLC Telestream Holdings Corporation [Member]    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Technology Hardware, Storage & Peripherals Technology Hardware, Storage & Peripherals Technology Hardware, Storage & Peripherals  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.25% 6.25% 6.25%  
Interest Rate 9.92% 10.19% 9.92%  
Acquisition Date Jun. 07, 2025 Jun. 07, 2025    
Maturity Date Jun. 07, 2028 Jun. 07, 2028 Jun. 07, 2028  
Investments, fair value $ 16 $ 20    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Telestream 2 LLC (d/b/a Telestream Holdings Corporation), First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Telestream 2 LLC Telestream Holdings Corporation [Member] Telestream 2 LLC Telestream Holdings Corporation [Member]    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Technology Hardware, Storage & Peripherals Technology Hardware, Storage & Peripherals Technology Hardware, Storage & Peripherals  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.25% 6.25% 6.25%  
Interest Rate 9.92% 10.19% 9.92%  
Acquisition Date Jun. 07, 2025 Jun. 07, 2025    
Maturity Date Jun. 07, 2028 Jun. 07, 2028 Jun. 07, 2028  
Principal/Share Amount $ 11,379 $ 11,437    
Investments, amortized cost 11,379 11,437    
Investments, fair value $ 11,379 $ 11,437    
Percent of net assets 4.50% 4.40% 4.50%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Telestream Topco 2 LLC (d/b/a Telestream Holdings Corporation), Common Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Telestream 2 LLC Telestream Holdings Corporation [Member] whfcl:TelestreamTopco2LlcMember    
Investment, Type [Extensible Enumeration] whfcl:CommonUnitsMember whfcl:CommonUnitsMember whfcl:CommonUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Technology Hardware, Storage & Peripherals Technology Hardware, Storage & Peripherals Technology Hardware, Storage & Peripherals  
Acquisition Date Jun. 07, 2025 Jun. 07, 2025    
Principal/Share Amount $ 497 $ 497    
Investments, amortized cost 7,109 7,109    
Investments, fair value $ 8,095 $ 8,027    
Percent of net assets 3.20% 3.10% 3.20%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Texas Express Wash, LLC First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:TexasExpressWashLlcMember whfcl:TexasExpressWashLlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Specialized Consumer Services Specialized Consumer Services Specialized Consumer Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.50% 6.50% 6.50%  
Interest Rate 10.24% 10.23% 10.24%  
Acquisition Date Nov. 26, 2025 Nov. 26, 2025    
Maturity Date Nov. 26, 2030 Nov. 26, 2030 Nov. 26, 2030  
Principal/Share Amount $ 472      
Investments, amortized cost 458      
Investments, fair value $ 516      
Percent of net assets 0.20%   0.20%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Texas Express Wash, LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:TexasExpressWashLlcMember whfcl:TexasExpressWashLlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Specialized Consumer Services Specialized Consumer Services Specialized Consumer Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.50% 6.50% 6.50%  
Interest Rate 10.24% 10.23% 10.24%  
Acquisition Date Nov. 26, 2025 Nov. 26, 2025    
Maturity Date Nov. 26, 2030 Nov. 26, 2030 Nov. 26, 2030  
Principal/Share Amount $ 104 $ 104    
Investments, amortized cost 101 100    
Investments, fair value $ 110 $ 100    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Texas Express Wash, LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:TexasExpressWashLlcMember whfcl:TexasExpressWashLlcMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Specialized Consumer Services Specialized Consumer Services Specialized Consumer Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.50% 6.50% 6.50%  
Interest Rate 10.24% 10.23% 10.24%  
Acquisition Date Nov. 26, 2025 Nov. 26, 2025    
Maturity Date Nov. 26, 2030 Nov. 26, 2030 Nov. 26, 2030  
Principal/Share Amount $ 11,073 $ 11,128    
Investments, amortized cost 10,759 10,778    
Investments, fair value $ 11,015 $ 10,776    
Percent of net assets 4.40% 4.10% 4.40%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Texas Express Wash, LLC Second Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:TexasExpressWashLlcMember whfcl:TexasExpressWashLlcMember    
Investment, Type [Extensible Enumeration] whfcl:SecondLienSecuredTermLoanMember whfcl:SecondLienSecuredTermLoanMember whfcl:SecondLienSecuredTermLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Specialized Consumer Services Specialized Consumer Services Specialized Consumer Services  
Spread Above Index 14.00% 14.00% 14.00%  
Interest Rate 14.00% 14.00% 14.00%  
Cash interest rate 7.00% 7.00% 7.00%  
PIK interest rate   7.00%    
PIK interest rate 7.00%   7.00%  
Acquisition Date Nov. 26, 2025 Nov. 26, 2025    
Maturity Date Nov. 26, 2031 Nov. 26, 2031 Nov. 26, 2031  
Principal/Share Amount $ 1,625 $ 1,569    
Investments, amortized cost 1,502 1,436    
Investments, fair value $ 1,573 $ 1,435    
Percent of net assets 0.60% 0.60% 0.60%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Texas Wash Holdings, LLC (d/b/a ClearWater Express Wash), Warrants        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:TexasWashHoldingsLlcMember whfcl:TexasWashHoldingsLlcMember    
Investment, Type [Extensible Enumeration] Warrant [Member] Warrant [Member] Warrant [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Specialized Consumer Services Specialized Consumer Services Specialized Consumer Services  
Acquisition Date Nov. 26, 2025 Nov. 26, 2025    
Investments, amortized cost $ 197 $ 197    
Investments, fair value $ 204 $ 197    
Percent of net assets 0.10% 0.10% 0.10%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: The Crom Corporation First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:CromCorporationMember whfcl:CromCorporationMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Water Utilities [Member] Water Utilities [Member] Water Utilities [Member]  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 4.75% 5.00% 4.75%  
Interest Rate 8.42% 8.90% 8.42%  
Acquisition Date Mar. 05, 2025 Mar. 05, 2025    
Maturity Date Jan. 31, 2031 Jan. 31, 2031 Jan. 31, 2031  
Principal/Share Amount $ 798 $ 802    
Investments, amortized cost 790 793    
Investments, fair value $ 811 $ 806    
Investment, Identifier [Axis]: The Crom Corporation First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:CromCorporationMember whfcl:CromCorporationMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Water Utilities [Member] Water Utilities [Member] Water Utilities [Member]  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Base Rate [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 4.75% 5.00% 4.75%  
Interest Rate 8.41% 8.84% 8.41%  
Acquisition Date Mar. 05, 2025 Mar. 05, 2025    
Maturity Date Jan. 31, 2031 Jan. 31, 2031 Jan. 31, 2031  
Principal/Share Amount $ 168 $ 312    
Investments, amortized cost 166 308    
Investments, fair value $ 174 $ 317    
Investment, Identifier [Axis]: The Crom Corporation First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:CromCorporationMember whfcl:CromCorporationMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Water Utilities [Member] Water Utilities [Member] Water Utilities [Member]  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 4.75% 5.00% 4.75%  
Interest Rate 8.41% 8.84% 8.41%  
Acquisition Date Mar. 05, 2025 Mar. 05, 2025    
Maturity Date Jan. 31, 2031 Jan. 31, 2031 Jan. 31, 2031  
Principal/Share Amount $ 4,029 $ 4,049    
Investments, amortized cost 3,983 3,998    
Investments, fair value $ 4,058 $ 4,049    
Investment, Identifier [Axis]: The Kyjen Company, LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:TheKyjenCompanyLLCMember whfcl:TheKyjenCompanyLLCMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Household Products Household Products Household Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Prime Rate [Member] Secured Overnight Financing Rate (SOFR) Six Month Term [Member] Prime Rate [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.50% 7.50% 6.50%  
Interest Rate 13.25% 11.61% 13.25%  
Cash interest rate 10.75% 10.61% 10.75%  
PIK interest rate 2.50% 1.00% 2.50%  
Acquisition Date Apr. 05, 2021 Apr. 05, 2021    
Maturity Date Oct. 06, 2026 Apr. 05, 2026 Oct. 06, 2026  
Principal/Share Amount $ 375      
Investments, amortized cost 383      
Investments, fair value $ 78 $ (132)    
Percent of net assets   (0.10%)    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: The Kyjen Company, LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:TheKyjenCompanyLLCMember whfcl:TheKyjenCompanyLLCMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Household Products Household Products Household Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) Six Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 7.50% 7.50% 7.50%  
Interest Rate 11.23% 11.61% 11.23%  
Cash interest rate 10.23% 10.61% 10.23%  
PIK interest rate 1.00% 1.00% 1.00%  
Acquisition Date Apr. 05, 2021 Apr. 05, 2021    
Maturity Date Oct. 06, 2026 Apr. 05, 2026 Oct. 06, 2026  
Principal/Share Amount $ 11,439 $ 11,409    
Investments, amortized cost 11,307 11,400    
Investments, fair value $ 7,701 $ 9,790    
Percent of net assets 3.00% 3.80% 3.00%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Token Buyer, Inc First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration]   Non-controlled/non-affiliate company investments    
Investment, Issuer Name [Extensible Enumeration]   whfcl:TokenBuyerIncMember    
Investment, Type [Extensible Enumeration]   First Lien Secured Term Loan [Member]    
Investment, Issuer Geographic Region [Extensible Enumeration]   srt:NorthAmericaMember    
Investment, Industry Sector [Extensible Enumeration]   Household Appliances    
Investment, Variable Interest Rate, Type [Extensible Enumeration]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]    
Floor   0.50%    
Spread Above Index   6.00%    
Interest Rate   9.99%    
Acquisition Date   May 26, 2022    
Maturity Date   May 31, 2029    
Principal/Share Amount   $ 1,587    
Investments, amortized cost   1,363    
Investments, fair value   $ 1,199    
Percent of net assets   0.50%    
Investment, Restriction Status [true false]   true    
Investment, Significant Unobservable Input [true false]   true    
Investment, Non-income Producing [true false]   false    
Investment, Identifier [Axis]: Trailhead Media LLC First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:TrailheadMediaLLCMember whfcl:TrailheadMediaLLCMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Advertising Advertising Advertising  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.50% 5.50% 5.50%  
Interest Rate 9.23% 9.17% 9.23%  
Cash interest rate 8.48% 8.42% 8.48%  
PIK interest rate 0.75% 0.75% 0.75%  
Acquisition Date Jan. 22, 2025 Jan. 22, 2025    
Maturity Date Dec. 28, 2029 Dec. 28, 2029 Dec. 28, 2029  
Investments, fair value $ (5) $ (3)    
Investment, Identifier [Axis]: Trailhead Media LLC, First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:TrailheadMediaLLCMember whfcl:TrailheadMediaLLCMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Advertising Advertising Advertising  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.50% 5.50% 5.50%  
Interest Rate 9.23% 9.17% 9.23%  
Cash interest rate 8.48% 8.42% 8.48%  
PIK interest rate 0.75% 0.75% 0.75%  
Acquisition Date Jan. 22, 2025 Jan. 22, 2025    
Maturity Date Dec. 28, 2029 Dec. 28, 2029 Dec. 28, 2029  
Investments, fair value $ (4) $ (3)    
Investment, Identifier [Axis]: Trailhead Media LLC, First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:TrailheadMediaLLCMember whfcl:TrailheadMediaLLCMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Advertising Advertising Advertising  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.50% 5.50% 5.50%  
Interest Rate 9.23% 9.17% 9.23%  
Cash interest rate 8.48% 8.42% 8.48%  
PIK interest rate 0.75% 0.75% 0.75%  
Acquisition Date Jan. 22, 2025 Jan. 22, 2025    
Maturity Date Dec. 28, 2029 Dec. 28, 2029 Dec. 28, 2029  
Principal/Share Amount $ 6,624 $ 6,632    
Investments, amortized cost 6,555 6,553    
Investments, fair value $ 6,524 $ 6,532    
Investment, Identifier [Axis]: Transervice Holdings, Inc. (d/b/a Transervice Logistics, Inc.), First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:TranserviceHoldingsIncMember whfcl:TranserviceHoldingsIncMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Cargo Ground Transportation Cargo Ground Transportation Cargo Ground Transportation  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 2.00% 2.00% 2.00%  
Spread Above Index 7.50% 7.25% 7.50%  
Interest Rate 11.24% 11.07% 11.24%  
Acquisition Date Jun. 29, 2023 Jun. 29, 2023    
Maturity Date Jun. 29, 2028 Jun. 29, 2028 Jun. 29, 2028  
Principal/Share Amount $ 7,589 $ 7,701    
Investments, amortized cost 7,498 7,586    
Investments, fair value $ 7,583 $ 7,701    
Percent of net assets 3.00% 3.00% 3.00%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Trimlite Buyer LLC (d/b/a Trimlite LLC) First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:TrimliteBuyerLLCMember whfcl:TrimliteBuyerLLCMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Building Products Building Products Building Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Canadian Overnight Repo Rate Average Three Months Term [Member] Canadian Overnight Repo Rate Average Three Months Term [Member] Canadian Overnight Repo Rate Average Three Months Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 4.75% 5.50% 4.75%  
Interest Rate 7.04% 8.08% 7.04%  
Acquisition Date Mar. 11, 2026 Jul. 27, 2021    
Maturity Date Mar. 11, 2031 Jul. 27, 2027 Mar. 11, 2031  
Principal/Share Amount $ 1,896 $ 18,868    
Investments, amortized cost 1,382 14,957    
Investments, fair value $ 1,329 $ 13,748    
Percent of net assets 0.50% 5.30% 0.50%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Trimlite Buyer LLC, First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:TrimliteBuyerLLCMember      
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember   whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Building Products   Building Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00%   1.00%  
Spread Above Index 4.75%   4.75%  
Interest Rate 8.48%   8.48%  
Acquisition Date May 20, 2026      
Maturity Date Mar. 11, 2031   Mar. 11, 2031  
Investments, fair value $ 4      
Investment, Identifier [Axis]: Trimlite Buyer LLC, First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:TrimliteBuyerLLCMember      
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member]   First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Building Products   Building Products  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00%   1.00%  
Spread Above Index 4.75%   4.75%  
Interest Rate 8.48%   8.48%  
Acquisition Date May 20, 2026      
Maturity Date Mar. 11, 2031   Mar. 11, 2031  
Principal/Share Amount $ 2,744      
Investments, amortized cost 2,718      
Investments, fair value $ 2,729      
Investment, Identifier [Axis]: TriplePoint Acquisition Holdings LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:TriplepointAcquisitionHoldingsLlcMember whfcl:TriplepointAcquisitionHoldingsLlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Construction & Engineering Construction & Engineering Construction & Engineering  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.25% 5.25% 5.25%  
Interest Rate 8.98% 8.92% 8.98%  
Acquisition Date Jun. 14, 2024 Jun. 14, 2024    
Maturity Date May 31, 2029 May 31, 2029 May 31, 2029  
Investments, fair value $ 16 $ 18    
Investment, Identifier [Axis]: TriplePoint Acquisition Holdings LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:TriplepointAcquisitionHoldingsLlcMember whfcl:TriplepointAcquisitionHoldingsLlcMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Construction & Engineering Construction & Engineering Construction & Engineering  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.25% 5.25% 5.25%  
Interest Rate 8.98% 8.92% 8.98%  
Acquisition Date Jun. 14, 2024 Jun. 14, 2024    
Maturity Date May 31, 2029 May 31, 2029 May 31, 2029  
Principal/Share Amount $ 8,052 $ 8,093    
Investments, amortized cost 7,951 7,975    
Investments, fair value $ 8,080 $ 8,107    
Investment, Identifier [Axis]: Turnberry Solutions, Inc.First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:TurnberrySolutionsInc.Member whfcl:TurnberrySolutionsInc.Member    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] IT Consulting And Other Services IT Consulting And Other Services IT Consulting And Other Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.00% 5.75% 6.00%  
Interest Rate 9.81% 9.57% 9.81%  
Acquisition Date Aug. 10, 2021 Aug. 10, 2021    
Maturity Date Mar. 02, 2028 Mar. 02, 2028 Mar. 02, 2028  
Investments, fair value $ 2 $ 2    
Investment, Identifier [Axis]: Turnberry Solutions, Inc.First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:TurnberrySolutionsInc.Member whfcl:TurnberrySolutionsInc.Member    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] IT Consulting And Other Services IT Consulting And Other Services IT Consulting And Other Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.00% 5.75% 6.00%  
Interest Rate 9.81% 9.57% 9.81%  
Acquisition Date Aug. 10, 2021 Aug. 10, 2021    
Maturity Date Mar. 02, 2028 Mar. 02, 2028 Mar. 02, 2028  
Principal/Share Amount $ 5,872 $ 5,902    
Investments, amortized cost 5,857 5,885    
Investments, fair value $ 5,872 $ 5,902    
Investment, Identifier [Axis]: Twin Ridge CRS, LP (d/b/a CRS OneSource) Class A Common Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:TwinRidgeCrsLpMember whfcl:TwinRidgeCrsLpMember    
Investment, Type [Extensible Enumeration] whfcl:ClassCommonUnitsMember whfcl:ClassCommonUnitsMember whfcl:ClassCommonUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Food Distributors Food Distributors Food Distributors  
Acquisition Date May 10, 2024 May 10, 2024    
Principal/Share Amount $ 63 $ 63    
Investments, amortized cost 317 317    
Investments, fair value $ 343 $ 264    
Percent of net assets 0.10% 0.10% 0.10%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: UserZoom Technologies, Inc. First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:UserzoomTechnologiesIncMember whfcl:UserzoomTechnologiesIncMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Air Freight & Logistics Application Software Air Freight & Logistics  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Six Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 7.75% 7.50% 7.75%  
Interest Rate 11.40% 11.63% 11.40%  
Cash interest rate 9.65%   9.65%  
PIK interest rate 1.75%   1.75%  
Acquisition Date Jan. 12, 2023 Jan. 12, 2023    
Maturity Date Apr. 05, 2029 Apr. 05, 2029 Apr. 05, 2029  
Principal/Share Amount $ 10,686 $ 9,819    
Investments, amortized cost 10,542 9,665    
Investments, fair value $ 10,415 $ 9,621    
Percent of net assets 4.10% 3.70% 4.10%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Vibration Mountings amp; Controls, Inc, Common Stock        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments   Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Vibration Mountings & Controls, Inc. [Member]      
Investment, Type [Extensible Enumeration] Common Stock [Member]   Common Stock [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Industrial Machinery & Supplies & Components   Industrial Machinery & Supplies & Components  
Acquisition Date Jun. 23, 2026      
Investments, amortized cost $ 95      
Investments, fair value $ 95      
Investment, Restriction Status [true false] true   true  
Investment, Significant Unobservable Input [true false] true   true  
Investment, Non-income Producing [true false] false   false  
Investment, Identifier [Axis]: Vibration Mountings amp; Controls, Inc, First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments   Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Vibration Mountings & Controls, Inc. [Member]      
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember   whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Industrial Machinery & Supplies & Components   Industrial Machinery & Supplies & Components  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00%   1.00%  
Spread Above Index 5.00%   5.00%  
Interest Rate 8.70%   8.70%  
Acquisition Date Jun. 23, 2026      
Maturity Date Jun. 23, 2031   Jun. 23, 2031  
Investment, Restriction Status [true false] true   true  
Investment, Significant Unobservable Input [true false] true   true  
Investment, Non-income Producing [true false] false   false  
Investment, Identifier [Axis]: Vibration Mountings amp; Controls, Inc, First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments   Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Vibration Mountings & Controls, Inc. [Member]      
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember   whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Industrial Machinery & Supplies & Components   Industrial Machinery & Supplies & Components  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00%   1.00%  
Spread Above Index 5.00%   5.00%  
Interest Rate 8.70%   8.70%  
Acquisition Date Jun. 23, 2026      
Maturity Date Jun. 23, 2031   Jun. 23, 2031  
Investment, Restriction Status [true false] true   true  
Investment, Significant Unobservable Input [true false] true   true  
Investment, Non-income Producing [true false] false   false  
Investment, Identifier [Axis]: Vibration Mountings amp; Controls, Inc, First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments   Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] Vibration Mountings & Controls, Inc. [Member]      
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member]   First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Industrial Machinery & Supplies & Components   Industrial Machinery & Supplies & Components  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]   Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00%   1.00%  
Spread Above Index 5.00%   5.00%  
Interest Rate 8.70%   8.70%  
Acquisition Date Jun. 23, 2026      
Maturity Date Jun. 23, 2031   Jun. 23, 2031  
Principal/Share Amount $ 6,378      
Investments, amortized cost 6,282      
Investments, fair value $ 6,282      
Percent of net assets 2.50%   2.50%  
Investment, Restriction Status [true false] true   true  
Investment, Significant Unobservable Input [true false] true   true  
Investment, Non-income Producing [true false] false   false  
Investment, Identifier [Axis]: Vistria Blocked MGT Investor, LP (d/b/a MGT Consulting Group) Preferred Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:VistriaBlockedMgtInvestorLpMember whfcl:VistriaBlockedMgtInvestorLpMember    
Investment, Type [Extensible Enumeration] whfcl:PreferredUnitsMember whfcl:PreferredUnitsMember whfcl:PreferredUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] IT Consulting And Other Services IT Consulting And Other Services IT Consulting And Other Services  
Acquisition Date Apr. 10, 2023 Apr. 10, 2023    
Investments, fair value $ 15 $ 15    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Vistria Blocked MGT Investor, LP (d/b/a MGT Consulting Group) Series A Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:VistriaBlockedMgtInvestorLpMember whfcl:VistriaBlockedMgtInvestorLpMember    
Investment, Type [Extensible Enumeration] whfcl:SeriesUnitsMember whfcl:SeriesUnitsMember whfcl:SeriesUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] IT Consulting And Other Services IT Consulting And Other Services IT Consulting And Other Services  
Acquisition Date Apr. 10, 2023 Apr. 10, 2023    
Investments, fair value $ 47 $ 308    
Percent of net assets   0.10%    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: W Electric Intermediate Holdings, LLC (d/b/a Westinghouse Electric Corporation) - First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:WElectricIntermediateHoldingsLlcMember whfcl:WElectricIntermediateHoldingsLlcMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Industrial Machinery & Supplies & Components Industrial Machinery & Supplies & Components Industrial Machinery & Supplies & Components  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.00% 6.50% 6.00%  
Interest Rate 9.64% 10.22% 9.64%  
Cash interest rate 9.14% 9.22% 9.14%  
PIK interest rate 0.50% 1.00% 0.50%  
Acquisition Date Aug. 15, 2024 Aug. 15, 2024    
Maturity Date Aug. 15, 2029 Aug. 15, 2029 Aug. 15, 2029  
Principal/Share Amount $ 12,303 $ 12,308    
Investments, amortized cost 12,170 12,154    
Investments, fair value $ 12,303 $ 12,334    
Percent of net assets 4.90% 4.70% 4.90%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: WCHG Buyer, Inc.,First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:WchgBuyerInc.Member whfcl:WchgBuyerInc.Member    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember First Lien Secured Term Loan [Member] whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Paper & Plastic Packaging Products & Materials Paper & Plastic Packaging Products & Materials Paper & Plastic Packaging Products & Materials  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 4.75% 4.75% 4.75%  
Interest Rate 8.66% 8.47% 8.66%  
Acquisition Date Apr. 01, 2025 Apr. 01, 2025    
Maturity Date Apr. 10, 2031 Apr. 10, 2031 Apr. 10, 2031  
Principal/Share Amount $ 12,226 $ 6,948    
Investments, amortized cost 12,156 6,918    
Investments, fair value $ 12,130 $ 6,948    
Investment, Identifier [Axis]: WHF STRS Ohio Senior Loan Fund LLC Equity        
Schedule of Investments [Line Items]        
Investment, Issuer Name [Extensible Enumeration] whfcl:WHFSTRSOhioSeniorLoanFundLLCMember whfcl:WHFSTRSOhioSeniorLoanFundLLCMember    
Investment, Type [Extensible Enumeration] Equity Investments Equity Investments Equity Investments  
Investments, fair value $ 22,361 $ 21,602   22,741
Investment, Identifier [Axis]: WHF STRS Ohio Senior Loan Fund LLC Interests        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:WHFSTRSOhioSeniorLoanFundLLCMember whfcl:WHFSTRSOhioSeniorLoanFundMember    
Investment, Type [Extensible Enumeration] whfcl:LLCInterestsMember whfcl:LLCInterestsMember whfcl:LLCInterestsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Specialized Finance Specialized Finance Specialized Finance  
Acquisition Date Jul. 19, 2019 Jul. 19, 2019    
Principal/Share Amount $ 21,564 $ 21,104    
Investments, amortized cost 21,564 21,104    
Investments, fair value $ 22,361 $ 21,602    
Percent of net assets 8.80% 8.30% 8.80%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: WHF STRS Ohio Senior Loan Fund LLC Subordinated Note        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:WHFSTRSOhioSeniorLoanFundLLCMember whfcl:WHFSTRSOhioSeniorLoanFundLLCMember    
Investment, Type [Extensible Enumeration] Subordinated Debt [Member] Subordinated Debt [Member] Subordinated Debt [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Specialized Finance Specialized Finance Specialized Finance  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 0.00%   0.00%  
Spread Above Index 6.50% 6.50% 6.50%  
Interest Rate 10.12% 10.18% 10.12%  
Acquisition Date Jul. 19, 2019 Jul. 19, 2019    
Principal/Share Amount $ 86,256 $ 84,416    
Investments, amortized cost 86,256 84,416    
Investments, fair value $ 86,256 $ 84,416   $ 84,416
Percent of net assets 34.10% 32.50% 34.10%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Wamp;A Intermediate Co., LLC First Lien Secured Delayed Draw Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:WakefieldAndAssociatesIntermediateCo.LlcMember whfcl:WakefieldAndAssociatesIntermediateCo.LlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember whfcl:FirstLienSecuredDelayedDrawLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Health Care Services Health Care Services Health Care Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.25% 6.25% 6.25%  
Interest Rate 9.98% 9.92% 9.98%  
Acquisition Date Aug. 01, 2024 Aug. 01, 2024    
Maturity Date Aug. 01, 2029 Aug. 01, 2029 Aug. 01, 2029  
Investments, fair value $ (1) $ 1    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Wamp;A Intermediate Co., LLC First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:WakefieldAndAssociatesIntermediateCo.LlcMember whfcl:WakefieldAndAssociatesIntermediateCo.LlcMember    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Health Care Services Health Care Services Health Care Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.25% 6.25% 6.25%  
Interest Rate 9.98% 9.92% 9.98%  
Acquisition Date Aug. 01, 2024 Aug. 01, 2024    
Maturity Date Aug. 01, 2029 Aug. 01, 2029 Aug. 01, 2029  
Principal/Share Amount $ 448 $ 345    
Investments, amortized cost 443 340    
Investments, fair value $ 447 $ 346    
Percent of net assets 0.20% 0.10% 0.20%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Wamp;A Intermediate Co., LLC First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:WakefieldAndAssociatesIntermediateCo.LlcMember whfcl:WakefieldAndAssociatesIntermediateCo.LlcMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Health Care Services Health Care Services Health Care Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 6.25% 6.25% 6.25%  
Interest Rate 9.98% 9.92% 9.98%  
Acquisition Date Aug. 01, 2024 Aug. 01, 2024    
Maturity Date Aug. 01, 2029 Aug. 01, 2029 Aug. 01, 2029  
Principal/Share Amount $ 7,078 $ 7,148    
Investments, amortized cost 6,991 7,045    
Investments, fair value $ 7,027 $ 7,100    
Percent of net assets 2.80% 2.70% 2.80%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: What If Media Group, LLC Common Units        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:WhatIfMediaGroupLLCMember whfcl:WhatIfMediaGroupLLCMember    
Investment, Type [Extensible Enumeration] whfcl:CommonUnitsMember whfcl:CommonUnitsMember whfcl:CommonUnitsMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Interactive Media & Services Interactive Media & Services Interactive Media & Services  
Acquisition Date Jul. 02, 2021 Jul. 02, 2021    
Principal/Share Amount $ 851 $ 3,081    
Investments, amortized cost 851 851    
Investments, fair value $ 1,961 $ 1,963    
Percent of net assets 0.80% 0.80% 0.80%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Whitestone Home Furnishings, LLC (d/b/a Saatva, Inc.) First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments   Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:WhitestoneHomeFurnishingsLlcMember      
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember   whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember   srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Home Furnishings   Home Furnishings  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member]   Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00%   1.00%  
Spread Above Index 5.50%   5.50%  
Interest Rate 9.14%   9.14%  
Acquisition Date Jan. 12, 2026      
Maturity Date Sep. 30, 2027   Sep. 30, 2027  
Investments, fair value $ 5      
Investment, Restriction Status [true false] true   true  
Investment, Significant Unobservable Input [true false] true   true  
Investment, Non-income Producing [true false] false   false  
Investment, Identifier [Axis]: Whitestone Home Furnishings, LLC (d/b/a Saatva, Inc.) First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:WhitestoneHomeFurnishingsLlcMember whfcl:WhitestoneHomeFurnishingsLlcMember    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Home Furnishings Home Furnishings Home Furnishings  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 1.00% 1.00% 1.00%  
Spread Above Index 5.50% 5.25% 5.50%  
Interest Rate 9.14% 8.97% 9.14%  
Acquisition Date Nov. 06, 2023 Nov. 06, 2023    
Maturity Date Sep. 30, 2027 Aug. 20, 2026 Sep. 30, 2027  
Principal/Share Amount $ 4,669 $ 2,848    
Investments, amortized cost 4,638 2,832    
Investments, fair value $ 4,671 $ 2,848    
Percent of net assets 1.80% 1.10% 1.80%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Zephyr Buyer, L.P. (d/b/a The Weather Company, LLC) First Lien Secured Revolving Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:ZephyrBuyerL.p.Member whfcl:ZephyrBuyerL.p.Member    
Investment, Type [Extensible Enumeration] whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember whfcl:FirstLienSecuredRevolvingLoanMember  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Interactive Media & Services Interactive Media & Services Interactive Media & Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 0.50% 0.50% 0.50%  
Spread Above Index 4.75% 4.75% 4.75%  
Interest Rate 8.39% 8.42% 8.39%  
Acquisition Date Jan. 31, 2024 Jan. 31, 2024    
Maturity Date Jan. 31, 2031 Jan. 31, 2031 Jan. 31, 2031  
Investments, fair value $ 29 $ 32    
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Investment, Identifier [Axis]: Zephyr Buyer, L.P. (d/b/a The Weather Company, LLC) First Lien Secured Term Loan        
Schedule of Investments [Line Items]        
Investment, Issuer Affiliation [Extensible Enumeration] Non-controlled affiliate company investments Non-controlled/non-affiliate company investments Non-controlled affiliate company investments  
Investment, Issuer Name [Extensible Enumeration] whfcl:ZephyrBuyerL.p.Member whfcl:ZephyrBuyerL.p.Member    
Investment, Type [Extensible Enumeration] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member] First Lien Secured Term Loan [Member]  
Investment, Issuer Geographic Region [Extensible Enumeration] srt:NorthAmericaMember srt:NorthAmericaMember srt:NorthAmericaMember  
Investment, Industry Sector [Extensible Enumeration] Interactive Media & Services Interactive Media & Services Interactive Media & Services  
Investment, Variable Interest Rate, Type [Extensible Enumeration] Secured Overnight Financing Rate (SOFR) One Month Term [Member] Secured Overnight Financing Rate (SOFR) Three Month Term [Member] Secured Overnight Financing Rate (SOFR) One Month Term [Member]  
Floor 0.50% 0.50% 0.50%  
Spread Above Index 4.75% 4.75% 4.75%  
Interest Rate 8.39% 8.42% 8.39%  
Acquisition Date Jan. 31, 2024 Jan. 31, 2024    
Maturity Date Jan. 31, 2031 Jan. 31, 2031 Jan. 31, 2031  
Principal/Share Amount $ 13,828 $ 13,945    
Investments, amortized cost 13,609 13,701    
Investments, fair value $ 13,828 $ 13,945    
Percent of net assets 5.50% 5.40% 5.50%  
Investment, Restriction Status [true false] true true true  
Investment, Significant Unobservable Input [true false] true true true  
Investment, Non-income Producing [true false] false false false  
Morgan Stanley        
Schedule of Investments [Line Items]        
Unrealized appreciation $ 67      
Unrealized depreciation   $ (325)    
Morgan Stanley | CAD        
Schedule of Investments [Line Items]        
Currency to be sold 2,013 20,333    
Unrealized appreciation $ 67      
Morgan Stanley | USD        
Schedule of Investments [Line Items]        
Currency to be purchased 1,488 14,515    
Morgan Stanley One [Member]        
Schedule of Investments [Line Items]        
Unrealized appreciation   $ 2    
Morgan Stanley One [Member] | EUR        
Schedule of Investments [Line Items]        
Currency to be sold   4,989    
Morgan Stanley One [Member] | USD        
Schedule of Investments [Line Items]        
Currency to be purchased   5,874    
Canadian Dollar Offered Rate Three Month Term [Member]        
Schedule of Investments [Line Items]        
Rate of interest on investment per duration period   2.30%    
Prime Rate [Member]        
Schedule of Investments [Line Items]        
Rate of interest on investment per duration period 6.80% 6.80%    
Secured Overnight Financing Rate (SOFR) Three Month Term [Member]        
Schedule of Investments [Line Items]        
Rate of interest on investment per duration period 3.70% 3.70%    
Secured Overnight Financing Rate (SOFR) One Month Term [Member]        
Schedule of Investments [Line Items]        
Rate of interest on investment per duration period 3.70% 3.70%    
Secured Overnight Financing Rate (SOFR) Six Month Term [Member]        
Schedule of Investments [Line Items]        
Rate of interest on investment per duration period 3.80% 3.60%    
Canadian Overnight Repo Rate Average        
Schedule of Investments [Line Items]        
Rate of interest on investment per duration period 2.30%      
Canadian Overnight Repo Rate Average Three Months Term [Member]        
Schedule of Investments [Line Items]        
Rate of interest on investment per duration period 2.30% 2.30%    
Euro Interbank Offered Rate Three Month Term [Member]        
Schedule of Investments [Line Items]        
Rate of interest on investment per duration period 2.30% 2.00%    
Euro Interbank Offered Rate Six Month Term [Member]        
Schedule of Investments [Line Items]        
Rate of interest on investment per duration period 2.60% 2.10%    
Euro Interbank Offered Rate One Month Term [Member]        
Schedule of Investments [Line Items]        
Rate of interest on investment per duration period 2.20% 1.90%    
Debt Investments        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 518,411 $ 532,286    
Investments, fair value $ 506,279 $ 520,114    
Percent of net assets 200.30% 200.20% 200.30%  
Debt Investments | Advertising        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 14,249 $ 14,081    
Investments, fair value $ 14,297 $ 13,653    
Percent of net assets 5.70% 5.30% 5.70%  
Debt Investments | Air Freight & Logistics        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 9,540 $ 9,416    
Investments, fair value $ 9,388 $ 9,281    
Percent of net assets 3.70% 3.50% 3.70%  
Debt Investments | Application Software        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 29,402 $ 22,062    
Investments, fair value $ 28,222 $ 20,888    
Percent of net assets 11.20% 8.00% 11.20%  
Debt Investments | Building Products        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 1,382 $ 14,957    
Investments, fair value $ 1,329 $ 13,748    
Percent of net assets 0.50% 5.30% 0.50%  
Debt Investments | Cargo Ground Transportation        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 7,498 $ 7,586    
Investments, fair value $ 7,583 $ 7,701    
Percent of net assets 3.00% 3.00% 3.00%  
Debt Investments | Human Resource & Employment Services        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 2,890 $ 2,899    
Investments, fair value $ 2,891 $ 2,909    
Percent of net assets 1.10% 1.10% 1.10%  
Debt Investments | Construction & Engineering        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 5,057 $ 9,736    
Investments, fair value $ 5,140 $ 9,849    
Percent of net assets 2.00% 3.80% 2.00%  
Debt Investments | Diversified Chemicals        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 3,404 $ 3,404    
Investments, fair value $ 3,404 $ 3,404    
Percent of net assets 1.30% 1.30% 1.30%  
Debt Investments | Diversified Support Services        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 15,392 $ 15,110    
Investments, fair value $ 15,469 $ 15,072    
Percent of net assets 6.20% 5.70% 6.20%  
Debt Investments | Education Services        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 22,775 $ 12,302    
Investments, fair value $ 22,708 $ 12,296    
Percent of net assets 9.00% 4.70% 9.00%  
Debt Investments | Environmental & Facilities Services        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 2,831 $ 1,568    
Investments, fair value $ 2,867 $ 1,610    
Percent of net assets 1.20% 0.70% 1.20%  
Debt Investments | Food Distributors        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 215      
Investments, fair value $ 218      
Percent of net assets 0.10%   0.10%  
Debt Investments | Health Care Facilities        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 4,768 $ 4,534    
Investments, fair value $ 4,897 $ 4,623    
Percent of net assets 1.90% 1.80% 1.90%  
Debt Investments | Health Care Services        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 8,361 $ 8,315    
Investments, fair value $ 8,406 $ 8,389    
Percent of net assets 3.40% 3.20% 3.40%  
Debt Investments | Health Care Supplies        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 20,269 $ 20,227    
Investments, fair value $ 20,409 $ 20,026    
Percent of net assets 8.10% 7.70% 8.10%  
Debt Investments | Home Furnishings        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 17,851 $ 16,091    
Investments, fair value $ 18,089 $ 16,103    
Percent of net assets 7.10% 6.20% 7.10%  
Debt Investments | Household Products        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 11,690 $ 11,400    
Investments, fair value $ 7,785 $ 9,658    
Percent of net assets 3.00% 3.70% 3.00%  
Debt Investments | Household Appliances        
Schedule of Investments [Line Items]        
Investments, amortized cost   $ 1,363    
Investments, fair value   $ 1,199    
Percent of net assets   0.50%    
Debt Investments | Industrial Machinery & Supplies & Components        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 18,452 $ 12,154    
Investments, fair value $ 18,585 $ 12,334    
Percent of net assets 7.40% 4.70% 7.40%  
Debt Investments | Integrated Telecommunication Services        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 14,964 $ 27,853    
Investments, fair value $ 15,157 $ 26,732    
Percent of net assets 6.00% 10.30% 6.00%  
Debt Investments | Interactive Media & Services        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 13,609 $ 13,701    
Investments, fair value $ 13,857 $ 13,977    
Percent of net assets 5.50% 5.40% 5.50%  
Debt Investments | IT Consulting And Other Services        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 486 $ 281    
Investments, fair value $ 479 $ 300    
Percent of net assets 0.20% 0.10% 0.20%  
Debt Investments | Leisure Facilities        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 20,423 $ 20,332    
Investments, fair value $ 11,791 $ 14,521    
Percent of net assets 4.70% 5.70% 4.70%  
Debt Investments | Leisure Products        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 18,706 $ 18,585    
Investments, fair value $ 17,540 $ 16,672    
Percent of net assets 6.90% 6.40% 6.90%  
Debt Investments | Oil & Gas Refining & Marketing        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 10,248 $ 10,243    
Investments, fair value $ 10,408 $ 10,404    
Percent of net assets 4.20% 3.90% 4.20%  
Debt Investments | Oil & Gas Storage & Transportation        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 10,056 $ 10,077    
Investments, fair value $ 10,266 $ 10,158    
Percent of net assets 4.10% 3.90% 4.10%  
Debt Investments | Office Services & Supplies        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 16,000 $ 5,684    
Investments, fair value $ 15,880 $ 5,159    
Percent of net assets 6.30% 2.00% 6.30%  
Debt Investments | Packaged Foods & Meats        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 3,580 $ 3,973    
Investments, fair value $ 3,626 $ 4,033    
Percent of net assets 1.40% 1.60% 1.40%  
Debt Investments | Paper Products        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 8,503 $ 8,838    
Investments, fair value $ 8,892 $ 9,276    
Percent of net assets 3.50% 3.60% 3.50%  
Debt Investments | Pharmaceuticals        
Schedule of Investments [Line Items]        
Investments, amortized cost   $ 12,031    
Investments, fair value   $ 12,027    
Percent of net assets   4.70%    
Debt Investments | Real Estate Services        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 10,147 $ 20,865    
Investments, fair value $ 9,380 $ 20,395    
Percent of net assets 3.70% 7.90% 3.70%  
Debt Investments | Research & Consulting Services        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 4,761 $ 4,748    
Investments, fair value $ 4,829 $ 4,831    
Percent of net assets 1.90% 1.90% 1.90%  
Debt Investments | Specialized Consumer Services        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 28,514 $ 25,952    
Investments, fair value $ 29,102 $ 26,088    
Percent of net assets 11.40% 10.00% 11.40%  
Debt Investments | Specialized Finance        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 96,439 $ 95,079    
Investments, fair value $ 96,563 $ 95,077    
Percent of net assets 38.20% 36.60% 38.20%  
Debt Investments | Systems Software        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 18,686 $ 18,657    
Investments, fair value $ 19,281 $ 19,360    
Percent of net assets 7.70% 7.50% 7.70%  
Debt Investments | Technology Hardware, Storage & Peripherals        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 11,379 $ 11,437    
Investments, fair value $ 11,395 $ 11,457    
Percent of net assets 4.50% 4.40% 4.50%  
Debt Investments | Transaction & Payment Processing Services        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 35,884 $ 36,745    
Investments, fair value $ 36,146 $ 36,904    
Percent of net assets 14.20% 14.10% 14.20%  
Subordinated Debt [Member]        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 1,331 $ 1,269    
Investments, fair value 1,345 1,286    
Equity Investments        
Schedule of Investments [Line Items]        
Investments, amortized cost 75,885 75,288    
Investments, fair value $ 62,923 $ 58,535    
Percent of net assets 24.80% 22.50% 24.80%  
Equity Investments | Advertising        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 653 $ 633    
Investments, fair value $ 358 $ 322    
Percent of net assets 0.10% 0.10% 0.10%  
Equity Investments | Application Software        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 1,682 $ 1,682    
Investments, fair value $ 1,690 $ 1,853    
Percent of net assets 0.70% 0.70% 0.70%  
Equity Investments | Building Products        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 24 $ 24    
Equity Investments | Construction & Engineering        
Schedule of Investments [Line Items]        
Investments, amortized cost 404 404    
Investments, fair value $ 247 57    
Percent of net assets 0.10%   0.10%  
Equity Investments | Diversified Chemicals        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 4,537 4,537    
Investments, fair value $ 10,238 $ 4,784    
Percent of net assets 4.10% 1.80% 4.10%  
Equity Investments | Diversified Support Services        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 1,652 $ 1,635    
Investments, fair value $ 951 $ 774    
Percent of net assets 0.40% 0.30% 0.40%  
Equity Investments | Education Services        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 3,291 $ 3,291    
Investments, fair value $ 2,531 $ 3,291    
Percent of net assets 1.00% 1.30% 1.00%  
Equity Investments | Environmental & Facilities Services        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 942 $ 942    
Investments, fair value $ 1,577 $ 1,645    
Percent of net assets 0.60% 0.60% 0.60%  
Equity Investments | Food Distributors        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 317 $ 317    
Investments, fair value $ 343 $ 264    
Percent of net assets 0.10% 0.10% 0.10%  
Equity Investments | Household Appliances        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 1,100 $ 1,100    
Investments, fair value $ 911 $ 1,003    
Percent of net assets 0.40% 0.40% 0.40%  
Equity Investments | Industrial Machinery & Supplies & Components        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 883 $ 788    
Investments, fair value $ 439 $ 561    
Percent of net assets 0.10% 0.20% 0.10%  
Equity Investments | Interactive Media & Services        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 851 $ 851    
Investments, fair value $ 1,961 $ 1,963    
Percent of net assets 0.80% 0.80% 0.80%  
Equity Investments | IT Consulting And Other Services        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 1,612 $ 1,612    
Investments, fair value 112 $ 987    
Percent of net assets   0.40%    
Equity Investments | Leisure Facilities        
Schedule of Investments [Line Items]        
Investments, amortized cost 2,734 $ 2,734    
Investments, fair value $ 610 $ 712    
Percent of net assets 0.30% 0.30% 0.30%  
Equity Investments | Leisure Products        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 4,060 $ 4,060    
Equity Investments | Office Services & Supplies        
Schedule of Investments [Line Items]        
Investments, amortized cost 18 13    
Equity Investments | Other Specialty Retail        
Schedule of Investments [Line Items]        
Investments, amortized cost 514 514    
Investments, fair value $ 625 $ 735    
Percent of net assets 0.20% 0.30% 0.20%  
Equity Investments | Paper & Plastic Packaging Products & Materials        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 400 $ 400    
Equity Investments | Real Estate Services        
Schedule of Investments [Line Items]        
Investments, amortized cost 840 840    
Investments, fair value   31    
Equity Investments | Research & Consulting Services        
Schedule of Investments [Line Items]        
Investments, amortized cost 333 333    
Investments, fair value $ 286 $ 312    
Percent of net assets 0.10% 0.10% 0.10%  
Equity Investments | Specialized Consumer Services        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 797 $ 797    
Investments, fair value $ 439 $ 468    
Percent of net assets 0.20% 0.20% 0.20%  
Equity Investments | Specialized Finance        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 21,564 $ 21,104    
Investments, fair value $ 22,361 $ 21,602    
Percent of net assets 8.80% 8.30% 8.80%  
Equity Investments | Systems Software        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 19,568 $ 19,568    
Investments, fair value $ 9,149 $ 9,144    
Percent of net assets 3.60% 3.50% 3.60%  
Equity Investments | Technology Hardware, Storage & Peripherals        
Schedule of Investments [Line Items]        
Investments, amortized cost $ 7,109 $ 7,109    
Investments, fair value $ 8,095 $ 8,027    
Percent of net assets 3.20% 3.10% 3.20%  
Money Market Funds        
Schedule of Investments [Line Items]        
Percent of net assets 9.10% 8.10% 9.10%  
Money Market Funds amortized cost $ 22,964 $ 21,048    
Money Market Fair Value $ 22,964 $ 21,048    
Goldman Sachs Money Market Fund (CUSIP: 38141W315)        
Schedule of Investments [Line Items]        
Percent of net assets 4.70% 3.40% 4.70%  
Weighted average interest rate 3.33% 3.34% 3.33%  
Money Market Funds amortized cost $ 11,887 $ 8,829    
Money Market Fair Value $ 11,887 $ 8,829    
Invesco Treasury Money Market Fund (CUSIP: 825252406)        
Schedule of Investments [Line Items]        
Percent of net assets 2.80% 2.70% 2.80%  
Weighted average interest rate 3.56% 3.69% 3.56%  
Money Market Funds amortized cost $ 7,094 $ 7,032    
Money Market Fair Value $ 7,094 $ 7,032    
Dreyfus Treasury Obligations Cash Management Fund (CUSIP: 261908107)        
Schedule of Investments [Line Items]        
Percent of net assets 1.60% 2.00% 1.60%  
Weighted average interest rate 3.52% 3.65% 3.52%  
Money Market Funds amortized cost $ 3,983 $ 5,187    
Money Market Fair Value 3,983 5,187    
Non-controlled/non-affiliate company investments        
Schedule of Investments [Line Items]        
Investments, fair value $ 421,454 $ 436,589