CFNumberGetType(_:)
Returns the type used by a CFNumber object to store its value.
Declaration
func CFNumberGetType(_ number: CFNumber!) -> CFNumberTypeParameters
- number:
The CFNumber object to examine.
Return Value
A constant that indicates the data type of the value contained in number. See CFNumberType for a list of possible values.
Discussion
The type specified in the call to CFNumberCreate(_:_:_:) is not necessarily preserved when a new CFNumber object is created—it uses whatever internal storage type the creation function deems appropriate.