Skip to content

string match

Compare
Choose a tag to compare
@leonardiwagner leonardiwagner released this 07 Apr 23:07
· 88 commits to master since this release

now z match strings:

'test'.matches(
    (x = 'testa') => false,
    (x = 'test') => true,
    (x = 'testo') => false,
    function otherwise () { return false }
).should.equal(true)