tff.types.is_structure_of_integers

Determines if type_spec is a structure of integers.

Note that an empty computation_types.StructType will return True, as it does not contain any non-integer types.

type_spec A computation_types.Type.

True iff type_spec is a structure of integers, otherwise False.