app/javascript/js/helpers/cast_boolean.js

Summary

Maintainability
A
0 mins
Test Coverage
// eslint-disable-next-line eqeqeq
export const castBoolean = (value) => value == 'true'