I have a function that takes as parameters 2 instances of a (custom) class. But they can each be one of several classes, and I ne开发者_开发问答ed to then call another function based on what type they
I\'m trying to get the name of a class that matched a regex of a checked input. If I have this: <input type=\"radio\" class=\"toggle toggle-1\" />
This question already has answers here: Naming convention and structure for utility classes an开发者_如何学God methods