$type MUST be a case-sensitive string from the type list (§5.2.2). Returns the type when valid.
$type
$typeMUST be a case-sensitive string from the type list (§5.2.2). Returns the type when valid.