JSFiddle - React, Tailwind, and code Playground

by Timmy Willison

HTML

<input type="checkbox">

JavaScript

var isCheck = $('input').is(function() {
    return this.type === "checkbox";
});
console.log(isCheck);