public abstract class JsPrimitive extends Object implements JsValue
Constructor and Description |
---|
JsPrimitive() |
Modifier and Type | Method and Description |
---|---|
boolean |
isJson()
Returns true if this JsValue is a Json (JsObj or JsArray).
|
boolean |
isPrimitive()
Returns true if this JsValue is not a Json (neither JsObj nor JsArray).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ifNothing, ifNull, isArray, isArray, isBigDec, isBigDec, isBigInt, isBigInt, isBinary, isBool, isDecimal, isDouble, isDouble, isFalse, isInstant, isInstant, isInt, isInt, isIntegral, isJson, isLong, isLong, isNothing, isNotNothing, isNotNull, isNotNumber, isNull, isNumber, isObj, isObj, isSameType, isStr, isStr, isTrue, toJsArray, toJsBigDec, toJsBigInt, toJsBinary, toJsBool, toJsDouble, toJsInstant, toJsInt, toJsLong, toJsNumber, toJsObj, toJson, toJsPrimitive, toJsStr
public boolean isPrimitive()
JsValue
isPrimitive
in interface JsValue
Copyright © 2023. All rights reserved.