UNPKG

@marko/prettyprint

Version:

Prettyprint Marko template files in the syntax of your choice

7 lines (5 loc) 204 B
"use strict"; const getUnenclosedAsString = require("./getUnenclosedAsString"); module.exports = function hasUnenclosedNewlines(codeString) { return /\n|\r/.test(getUnenclosedAsString(codeString)); };