UNPKG

is-what

Version:

JS type check (TypeScript supported) functions like `isPlainObject() isArray()` etc. A simple & small integration.

5 lines (4 loc) 111 B
/** Returns whether the payload is '' */ export function isEmptyString(payload) { return payload === ''; }