Compatibility
Ferret favors explicit conversion.
let x: i64 = 42let y: i32 = x as i32For interfaces and unions, narrowing usually uses is checks before use:
if value is Name { let narrowed: Name = value println(narrowed.value)}Ferret favors explicit conversion.
let x: i64 = 42let y: i32 = x as i32For interfaces and unions, narrowing usually uses is checks before use:
if value is Name { let narrowed: Name = value println(narrowed.value)}