vakwetu / certmonger

Forked from certmonger 3 years ago
Clone

b2aca7a Add more type-safety to the JSON bits

Authored and Committed by nalin 9 years ago
1 file changed. 6 lines added. 0 lines removed.
    Add more type-safety to the JSON bits
    
    Add a type check to the get-by-key function on objects, and return
    "undefined" if we try to take the type of a NULL object.
    
        
file modified
+6 -0