allowed null and undefined

This commit is contained in:
Sebastian Seedorf
2020-05-26 09:56:57 +02:00
parent 05427eb47b
commit 7367af7fe4
4 changed files with 9 additions and 6 deletions

View File

@@ -7,6 +7,8 @@ import {
Deno.test("isString (match)", async () => {
const values = [
undefined,
null,
"",
"foo",
new String(),
@@ -19,8 +21,6 @@ Deno.test("isString (match)", async () => {
Deno.test("isString (no match)", async () => {
const values = [
undefined,
null,
0,
1,
true,