UNPKG

@jswork/next-is-valid-lrc

Version:

Detete string is a valid lrc.

9 lines 458 B
/*! * name: @jswork/next-is-valid-lrc * description: Detete string is a valid lrc. * homepage: https://github.com/afeiship/next-is-valid-lrc * version: 1.0.1 * date: 2021-01-09 16:11:02 * license: MIT */ !function(){var e=("undefined"!=typeof window?window:this||Function("return this")()).nx||require("@jswork/next"),n=/\[.*\].+/;e.isValidLrc=function(e){return n.test(e)},"undefined"!=typeof module&&module.exports&&(module.exports=e.isValidLrc)}();