@annexe/string.isemptystring
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

@annexe/isnonemptystring

A Typescript utility function to assert whether a value is a string type.

Installation

To install @annexe/isnonemptystring:

Yarn

yarn add @annexe/isnonemptystring

NPM

npm install @annexe/isnonemptystring

Usage

import { isNonEmptyString } from '@annexe/isnonemptystring';

console.log(isNonEmptyString('')); // logs FALSE
console.log(isNonEmptyString('I am a string')); // logs TRUE

Readme

Keywords

Package Sidebar

Install

npm i @annexe/string.isemptystring

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

6.13 kB

Total Files

14

Last publish

Collaborators

  • heyjules