0.1.0 • Published 2 years ago

@annexe/isstring v0.1.0

Weekly downloads
18
License
MIT
Repository
github
Last release
2 years ago

@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
0.1.0

2 years ago

0.1.1

2 years ago