Skip to contents

For roll_forward()'s actual, when the period goes as expected.

Usage

as_expected(x, ...)

Arguments

x

An ifrs17_group() or reinsurance_held().

...

Unused; for methods.

Value

A named list of the period's cash flows.

Examples

g <- ifrs17_group(list(premiums = c(900, 0), claims = rep(400, 2)), 30,
                  discount_curve(1, 0))
as_expected(g)
#> $premiums
#> [1] 900
#> 
#> $premiums_for_future_service
#> [1] 0
#> 
#> $claims
#> [1] 400
#> 
#> $expenses
#> [1] 0
#> 
#> $acquisition
#> [1] 0
#> 
#> $investment_component
#> [1] 0
#>