is_spdx_license_id


Description:


[ Version ( since = "0.9.8" ) ]
public bool is_spdx_license_id (string license_id)

Searches the known list of SPDX license IDs.

Parameters:

license_id

a single SPDX license ID, e.g. "GPL-3.0"

Returns:

true if the string is a valid SPDX license ID


Namespace: AppStream
Package: appstream