Is it true that can you get drafted if you go to college based on the following text?

The NBA draft is an annual event in which the 30 franchises in the National Basketball Association select new players for their teams. Eligibility rules for prospective players have changed several times during the history of the league. No player may sign with the NBA until they are 18 years or older. The rule has produced one-and-done players that play college basketball for one year before declaring for the draft.
yes