utils_is_tld


Description:


[ Version ( since = "0.9.8" ) ]
public bool utils_is_tld (string tld)

Searches the known list of TLDs we allow for AppStream IDs.

This excludes internationalized names.

Parameters:

tld

a top-level domain without dot, e.g. "de", "org", "name"

Returns:

true if the TLD is valid


Namespace: AppStream
Package: appstream



2022 vala-language.org