Constructor
# new MatrixGlob(glob)
Creates a new Matrix Glob
Parameters:
Name | Type | Description |
---|---|---|
glob |
string
|
The glob to convert. Eg: "*.example.org" |
Classes
Members
Methods
# test(val) → {boolean}
Tests the glob against a value, returning true if it matches.
Parameters:
Name | Type | Description |
---|---|---|
val |
string
|
The value to test. |
True if the value matches the glob, false otherwise.
boolean