Type.isscalar

Undocumented in source. Be warned that the author may not have intended to support it.
class Type
bool
isscalar
()

Meta