The core/license library provides functions to display the licensing information for the package. The actual license details are encoded in the core/license-parts library.
license_check_func()
Checks for a function that has the same root name as its caller and with a suffix of _print. Those functions are provided by the core/license-parts library and will only be present when the relevant portion of the license was provided by the developer.
license_blurb()
Prints a short license message for the package.
license_warranty()
Prints the warranty information for the package.
license_full()
Prints the full license for the package.