Luna::Variant::contains

bool contains(const Name &k) const

Checks whether one child variant with the specified key exists.

Return value

Returns true if the current variant is a object variant, and the child variant with the specified key exists. Returns false otherwise.