Gets all involved node IDs from the given linting results. If the results represent an error, an empty set is returned.
Gets all locations from the given linting results, i.e. the loc property of all results that have a location.
Checks whether the given linting result has a location, i.e. whether it has a loc property.
Checks whether the given linting results represent an error.
Checks whether the given linting results represent a successful execution.
Stringifies the error contained in the given linting results error.
Unpacks the given linting results, throwing an error if they represent an error.
Helper functions for working with LintingResults.