At least in New Zealand and the United Kingdom, criminal defence can make a "no case to answer" application before trial (they can also make one at the close of the prosecution's case during trial, but let's not be distracted by that).
When they make such an application before trial, they basically assert that the prosecution's evidence is not capable of proving guilt beyond reasonable doubt. That means, even if the witnesses testify it and don't get discredited, no reasonable jury would convict anyway.
The judge, when determining such an application, evaluates the would-be-given evidence and decides if it is capable of proving guilt beyond reasonable doubt. If it is, the application gets dismissed and the case proceeds to trial. If it is not, the charges get dismissed.
Is there an equivalent motion in the US? What is it called? How does it work? The closest thing I heard of is "probable cause" but is it a full equivalent of "no case to answer"?