is_spdx_license_expression


Description:


[ Version ( since = "0.9.8" ) ]
public bool is_spdx_license_expression (string license)

Checks the licence string to check it being a valid licence.

NOTE: SPDX licenses can't typically contain brackets.

Parameters:

license

a SPDX license string, e.g. "CC-BY-3.0 and GFDL-1.3"

Returns:

true if the icon is a valid "SPDX license"


Namespace: AppStream
Package: appstream



2022 vala-language.org