Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 814 Bytes

readme.md

File metadata and controls

23 lines (15 loc) · 814 Bytes

is-string-in-quotes CircleCI npm (scoped)

Check if string is inside quotation marks. Supports 22 quotation styles (source)

Install

$ yarn add @shelf/is-string-in-quotes

Usage

const {isStringInQuotes} = require('@shelf/is-string-in-quotes');

isStringInQuotes('«hello»');
isStringInQuotes('„hello”');
isStringInQuotes('"hello"');

License

MIT © Shelf