Type guard function, checking if any property of the given object is neither undefined nor null.
Narrows the type of all properties within the object type from T | null | undefined to T.
Example:
incoming type is { a: number | null, b: string | undefined }
Type guard function, checking if any property of the given object is neither undefined nor null. Narrows the type of all properties within the object type from T | null | undefined to T.
Example: incoming type is { a: number | null, b: string | undefined }
outgoing type is { a: number, b: string }