Validate a record
The raw input
isRecord({}) >> { valid: true, parsed: {}, }; isRecord([]) >> { valid: false, error: "Not a record: []", }; Copy
isRecord({}) >> { valid: true, parsed: {}, }; isRecord([]) >> { valid: false, error: "Not a record: []", };
Validate a record