Creates a TypeTypeGuard for an object type based on a template of property type guards.
This is the primary function for creating type guards for interfaces and object types.
Best practice:
pass the generic type argument into isType to avoid unexpected optional-field behavior.
Creates a
TypeTypeGuardfor an object type based on a template of property type guards. This is the primary function for creating type guards for interfaces and object types.Best practice: pass the generic type argument into
isTypeto avoid unexpected optional-field behavior.