frieden gives u freedom
npm i frieden.js
const {checkType} = require('frieden.js')
let result = checkType([1,2,3],'Array')
console.log(result) // true
name | effect | usage | example | output |
---|---|---|---|---|
checkType | check input type | checkType(data,type) | checkType([1,2,3],'Array') | Boolean |