RegisterValidator adds a custom string validation function to the global registry for later use with function NewValidator. Adding an entry with an already existing `typeName` overwrites the previous validator. `typeName` will be handled case-sensitive.
(typeName string, vfn ValidateFn)
source not stored for this graph (policy: none)