Skip to content

Instance Property

hasUniformType

Returns true if the object has a single uniform type
var hasUniformType: Bool? { get }

Discussion

  • Always true for non-containers

  • True or false for containers

  • Never returns nil; the optional result is an historical artifact of the API