@annexe/string.isemptystring
v0.1.1
Published
A utility function to check if a string is empty.
Readme
@annexe/isnonemptystring
A Typescript utility function to assert whether a value is a string type.
Installation
To install @annexe/isnonemptystring:
Yarn
yarn add @annexe/isnonemptystringNPM
npm install @annexe/isnonemptystringUsage
import { isNonEmptyString } from '@annexe/isnonemptystring';
console.log(isNonEmptyString('')); // logs FALSE
console.log(isNonEmptyString('I am a string')); // logs TRUE