Function type_string
pub fn type_string(type_: i64) -> GStringExpand description
Returns a human-readable name of the given type, using the [enum Variant.Type] values.
print(TYPE_INT) # Prints 2
print(type_string(TYPE_INT)) # Prints "int"
print(type_string(TYPE_STRING)) # Prints "String"See also [method typeof].