/**
 * @since Last modified: 2024/04/17 10:26:48
 * @function attrValBool
 * @description Determine if the attribute value of a node is empty; null, 'false', '0' will be considered true,'' will be considered false.
 * @param  {string} value - The value of node.
 * @returns {boolean} Return true or false.
 * @see {@link https://codepen.io/axui/pen/bGJxOmX|demo @ codepen}
 * @example
 * ax.attrValBool('0');
 * <!--return true-->
 */
'use strict';
const attrValBool = (value) => ![null, 'false', '0', false, 0, undefined].includes(value);
export default attrValBool;
