sass-site/source/helpers/sass_helpers.ts
2023-02-25 13:44:14 +01:00

17 lines
292 B
TypeScript

function getImplStatus(status) {
switch (status) {
case null:
return status;
case true:
return '✓';
case false:
return '✗';
case 'partial':
return 'partial';
default:
return `since ${status}`;
}
}
module.exports = { getImplStatus };