Function

GLib-2.0GLibstrv_containsSince 2.44

  • Checks if an array of strings contains the string str according to GLib.str_equal. strv must not be NULL.

    Parameters

    • strv: string[]

      an array of strings to search in

    • str: string

      the string to search for

    Returns boolean

    true if str is an element of strv

    2.44