isPrimitiveWrapper

open fun isPrimitiveWrapper(type: Class<out Any>): Boolean(source)

Returns whether the given type is a primitive wrapper (Boolean, Byte, Character, Short, Integer, Long, Double, Float).

Return

true if the given type is a primitive wrapper (Boolean, Byte, Character, Short, Integer, Long, Double, Float).

Since

3.1

Parameters

type

The class to query or null.