Packages

implicit final class TypeMatcher extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypeMatcher
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TypeMatcher(jsonType: Type)

Value Members

  1. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  2. def isPrimitive: Boolean

    Check that type cannot be object or array

  3. def isUnion: Boolean

    Check if type contains at least two non-null types

  4. val jsonType: Type
  5. def nullable(matchingType: Type): Boolean

    Check if type is known type with null, precisely [X, null]

  6. def nullable: Boolean

    Check if type can be null

  7. def possiblyWithNull(matchingType: Type): Boolean

    Check if type is known type, [X, null] OR X

  8. def precisely(matchingType: Type): Boolean

    Check that type has exact type