$darkmode
Elektra 0.11.0
Functions
keytest.c File Reference

Methods for making tests. More...

#include "kdb.h"
#include "kdbinternal.h"
#include "kdbprivate.h"
Include dependency graph for keytest.c:

Functions

int keyIsBelow (const Key *key, const Key *check)
 Check if the Key check is below the Key key or not. More...
 
int keyIsBelowOrSame (const Key *key, const Key *check)
 Check if a key is below or same. More...
 
int keyIsDirectlyBelow (const Key *key, const Key *check)
 Check whether the Key check is directly below the Key key. More...
 
int keyIsBinary (const Key *key)
 Check if the value of a key is of binary type. More...
 
int keyIsString (const Key *key)
 Check if the value of key is of string type. More...
 

Detailed Description

Methods for making tests.

Function Documentation

◆ keyIsBelowOrSame()

int keyIsBelowOrSame ( const Key *  key,
const Key *  check 
)

Check if a key is below or same.

Parameters
keythe key object to work with
See also
keyIsBelow()