summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/var/is_binary.js.map
blob: 36eee736568369dedc5144b153723808a889d7b4 (plain) (blame)
1
{"version":3,"sources":["../../../src/php/var/is_binary.js"],"names":["module","exports","is_binary","vr"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,SAAT,CAAoBC,EAApB,EAAwB;AAAE;AACzC;AACA;AACA;AACA;;AAEA,SAAO,OAAOA,EAAP,KAAc,QAArB,CANuC,CAMT;AAC/B,CAPD","file":"is_binary.js","sourcesContent":["module.exports = function is_binary (vr) { // eslint-disable-line camelcase\n  //  discuss at: http://locutus.io/php/is_binary/\n  // original by: Brett Zamir (http://brett-zamir.me)\n  //   example 1: is_binary('This could be binary as far as JavaScript knows...')\n  //   returns 1: true\n\n  return typeof vr === 'string' // If it is a string of any kind, it could be binary\n}\n"]}