Check if the given license is for free-as-in-freedom software.
A free software license is either approved by the Free Software Foundation or the Open Source Initiative.
This function does *not* yet handle complex license expressions with AND and OR. If the expression contains any of these, it will still simply check if all mentioned licenses are Free licenses. Currently, any license exception recognized by SPDX is assumed to not impact the free-ness status of a software component.
Please note that this function does not give any legal advice. Please read the license texts to learn more about the individual licenses and their conditions.
license |
The SPDX license string to test. |
true if the license string contains only free-as-in-freedom licenses. |