Function

Secret-1Secretattributes_validateSince 0.21.2

  • Check if attributes are valid according to the provided schema.

    Verifies schema name if available, attribute names and parsing of attribute values.

    Parameters

    • schema: Schema

      the schema for the attributes

    • attributes: { [key: string]: any } | GLib.HashTable<any, any>

      the attributes to be validated

    Returns boolean

    whether or not the given attributes table is valid

    0.21.2