matches

abstract external var matches: Boolean?(source)

MDN Reference