isJsonPrimitive

abstract fun isJsonPrimitive(): Boolean

检查此元素是否为 JSON 原始类型 (string, number, boolean)。

Return

如果是,则返回 true