Yaml_Exist


Yaml_Exist can be used to check if a key exist.

Yaml_Exist(pYaml, Key)

Parameters

Parameter

Description

pYaml

This is the pointer previously returned from Yaml_Init().

Key

Key to check for existence.

Return Value

When a key does not exist, 0 is returned, else a value above 0 is returned.

Remarks

None.

Related

Simple Yaml Parser, Yaml_Init, Yaml_Get, Yaml_Set, Yaml_Add, Yaml_Insert, Yaml_Clone, Yaml_Delete, Yaml_DeleteAll, Yaml_Save

Example

; None.