function is_normal_form(): Boolean {
    // Gjs wrapper for g_variant_is_normal_form()

Checks if value is in normal form.

The main reason to do this is to detect if a given chunk of serialised data is in normal form: load the data into a GLib.Variant using GLib.Variant.new_from_data and then use this function to check.

If value is found to be in normal form then it will be marked as being trusted. If the value was already marked as being trusted then this function will immediately return true.

Since 2.24


true if value is in normal form