frame-title-has-text-matches.js 199 Bytes
import { sanitize } from '../commons/text';

function frameTitleHasTextMatches(node) {
	var title = node.getAttribute('title');
	return !!sanitize(title);
}

export default frameTitleHasTextMatches;