isSafeCast

Determine if it is @safe to cast e from tfrom to tto.

bool
isSafeCast

Parameters

e

expression to be cast

tfrom
Type: Type

type of e

tto
Type: Type

type to cast e to

Return Value

Type: bool

true if @safe

Meta