UNPKG

github-action-readme-generator

Version:

This is a CLI tool and GitHub Action that reads in the details from a GitHub Action's `action.yml` file and updates the `README.md` file with the `name`, `description`, `usage`, `inputs`, `outputs`, and examples of the action. Configuration can be provid

14 lines 434 B
/** * Type guard to check if an `unknown` value is an `Error` object. * * @param value - The value to check. * * @returns `true` if the value is an `Error` object, otherwise `false`. */ export const isError = (value) => !!value && typeof value === 'object' && 'message' in value && typeof value.message === 'string' && 'stack' in value && typeof value.stack === 'string'; //# sourceMappingURL=is-error.js.map