Validate an input is undefined
The raw input
isUndefined(undefined) >> { valid: true, parsed: undefined, }; isUndefined(null) >> { valid: false, error: "Not undefined: null", }; Copy
isUndefined(undefined) >> { valid: true, parsed: undefined, }; isUndefined(null) >> { valid: false, error: "Not undefined: null", };
Validate an input is undefined