isSafeCast

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

bool
isSafeCast

Parameters

e Expression

expression to be cast

tfrom Type

type of e

tto Type

type to cast e to

Return Value

Type: bool

true if @safe

Suggestion Box / Bug Report