cJSON_IsTrue

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > cJSON > CJSon low level interface >

cJSON_IsTrue

 

Description

 
Return %TRUE or %FALSE depending on if cJSON data structure, representing a JSON node, is Boolean with True value.

 

Syntax

 

n = cJSON_IsTrue(cJSON Ptr)

 

Returns

 

Number: %TRUE or %FALSE

 

Parameters

 

Name

Type

Optional

Meaning

cJSON

UDT Ptr

No

A pointer to a cJSON data structure

 

Remarks

 

Restrictions

 

See also

 

Examples