1.0.0 • Published 4 years ago

@shelf/is-string-in-quotes v1.0.0

Weekly downloads
511
License
MIT
Repository
github
Last release
4 years ago

is-string-in-quotes CircleCI npm.io 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