1.1.0 • Published 1 year ago

@chriscodesthings/is-string v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

is-string Test workflow status NPM Version License: MIT

Function to determine if something is a string type

Description

Tests a variable to see if it's a string.

See...


Install

npm install --save @chriscodesthings/is-string

Usage

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

console.log(isString("hello world!"));
// => true

Syntax

isString(var);

Parameters

  • var: any variable to test

Return Value

Returns boolean true if var is a string, false otherwise.

See Also...