QFT.cast

static QFT.cast(value, _type)

Best effort to cast value to type. Otherwise, returns the value.