Check if an object has an optional property and if it has it, if the type is right
Generated using TypeDoc
Check if an object has an optional property and if it has it, if the type is right