JsonSerializable.has(String propertyName) Method

定义

Checks whether a property exists.

public boolean has(String propertyName)

参数

propertyName
String

the property to look up.

返回

boolean

true if the property exists.

适用于