@annexe/string.isstring
v0.1.1
Published
A Typescript utility function to assert whether a value is a string.
Downloads
5
Readme
@annexe/isstring
A Typescript utility function to assert whether a value is a string type.
Installation
To install @annexe/isstring:
Yarn
yarn add @annexe/isstring
NPM
npm install @annexe/isstring
Usage
import { isString } from '@annexe/isstring';
console.log(isString(123)); // logs FALSE
console.log(isString('I am a string')); // logs TRUE