Before filing a full patent application, the inventor can temporarily protect the idea for a year, during which time they can test the market, apply for funding, and make any necessary changes to their invention. https://www.novelpatent.com/usa/provisional-patent-application/