use a switch, move Array.isArray check into "object" branch of switch to avoid calling it on a string
use a switch, move Array.isArray check into "object" branch of switch to
avoid calling it on a string

cognitect/transit-js,cognitect/transit-js,cognitect/transit-js