Artifact Content
Artifact 1e3827c9207237fb0689f991c0bf15b49ed0d59e4b19cff5b59b7a3a6a4eb32e:
- File public/riot-3.13.2/lib/browser/common/util/checks/is-boolean-attribute.js — part of check-in [12a9bb700d] at 2021-08-11 18:56:04 on branch trunk — Import from git Added a changelog (user: dev size: 257)
import { RE_BOOL_ATTRS } from './../../global-variables' /** * Check if the passed argument is a boolean attribute * @param { String } value - * @returns { Boolean } - */ export default function isBoolAttr(value) { return RE_BOOL_ATTRS.test(value) }