Permutation.cast

static Permutation.cast(value, _type)

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