canImplicitCast

Checks if a type can be implicitly casted to another type. does not work for custom types, returns false

  1. bool canImplicitCast(DataType.Type type1, DataType.Type type2)
    bool
    canImplicitCast
  2. bool canImplicitCast(DataType type1, DataType type2)

Return Value

Type: bool

true if can cast implicitely

Meta