Ask if type of caracas symbol is of a requested type

sym_inherits(x, what)

Arguments

x

An object, a caracas object is expected

what

Requested type (e.g. atomic, vector, list, matrix)