Checks whether the target characters appear appear in the whitelist
target
whitelist
expect(isWhitelisted('baz-foo', 'abcdefghijklmnopqrstuvwxyz-').value).toBeTruthy()
The target string
The white list
Generated using TypeDoc
Checks whether the
target
characters appear appear in thewhitelist
Example