Question d’entretien chez Meta

Given a string, return true/false if it's a valid number