Vala.Encoding.YamlValue.isBool – Valacore Reference Manual
isBool
Description:
public
bool
isBool
()
Returns true if this value is a boolean scalar.
Returns:
true for boolean values.