1.0.0 • Published 3 years ago

is-type-string v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Is Type String

Usage

First, install the package $ npm install is-type-string Then, require the package in your code

const isTypeString = require('is-type-string')
//or this
const its = require('is-type-string')

Then, use the function that you used for the require constant, ex. isTypeString() or its() like so

const its = require('is-type-string')

const string = "This is a string"
const number = 1
const boolean = true
const array = [1,2,3,4,5,6,7,8,9]

its(string) //returns true
its(number) //returns false
its(boolean) //returns false
its(array) //returns false

Last version 1.0.0 released on 5/14/2021