We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fea61db + 82a5b32 commit 8eb22a5Copy full SHA for 8eb22a5
src/index.js
@@ -12,9 +12,6 @@ const boolRe = /^true|false$/i;
12
export const transformRawValue = (input) => {
13
const value = input.trim();
14
15
- if (value === 'null') return null
16
- if (value === 'undefined') return undefined
17
-
18
const numberMatch = value.match(numberOrLengthRe);
19
if (numberMatch !== null) return Number(numberMatch[1]);
20
0 commit comments