Skip to content

Latest commit

 

History

History

isString

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

isString

Checks whether the input is a string primitive type.

npm i @plexis/is-string

Usage

import isString from '@plexis/is-string';

isString('Foo'); // returns 'true'
isString(1); // returns 'false'
isString(null); // returns 'false'

Aliases

import {isString} from 'plexis';