Skip to content

Commit 82a5b32

Browse files
author
Jacob Parker
committed
Revert "Handle null and undefined values"
This reverts commit 4f89d5f.
1 parent fea61db commit 82a5b32

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ const boolRe = /^true|false$/i;
1212
export const transformRawValue = (input) => {
1313
const value = input.trim();
1414

15-
if (value === 'null') return null
16-
if (value === 'undefined') return undefined
17-
1815
const numberMatch = value.match(numberOrLengthRe);
1916
if (numberMatch !== null) return Number(numberMatch[1]);
2017

0 commit comments

Comments
 (0)