- name is the class int or name to convert
Returns the specified class name as a class.
Following example shows basic to_class operations.It gives the following output (for DBs).
Disco Bandit none I am a Disco Bandit!
Unlike direct casting with $class[ ], this function is case-insensitive. Full name is still required (partial names, or names with extra characters, return $class[ none ]).