Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
isData(proof, target, [txt], network) {
assert(network && typeof network.claimPrefix === 'string');
const prefix = network.claimPrefix;
return util.startsWith(txt, prefix);
}