Lines Matching full:not
8 test('not regexes', function (t) {
9 t.notOk(isRegex(), 'undefined is not regex');
10 t.notOk(isRegex(null), 'null is not regex');
11 t.notOk(isRegex(false), 'false is not regex');
12 t.notOk(isRegex(true), 'true is not regex');
13 t.notOk(isRegex(42), 'number is not regex');
14 t.notOk(isRegex('foo'), 'string is not regex');
15 t.notOk(isRegex([]), 'array is not regex');
16 t.notOk(isRegex({}), 'object is not regex');
17 t.notOk(isRegex(function () {}), 'function is not regex');
28 t.notOk(isRegex(fakeRegex), 'fake RegExp with @@toStringTag "RegExp" is not regex');
38 test('does not mutate regexes', function (t) {
61 test('does not perform operations observable to Proxies', { skip: typeof Proxy !== 'function' }, fu…
89 st.equal(isRegex(proxy), false, 'proxy of plain object is not regex');
98 st.equal(isRegex(proxy), false, 'proxy of RegExp instance is not regex');