Count
Evaluates a Match
method that returns one when the option IsSome
, otherwise returns 0
Parameters
Returns
Option<T> option
int
Usage
When the option value IsSome
When the option value IsNone
Last updated
Was this helpful?
Evaluates a Match
method that returns one when the option IsSome
, otherwise returns 0
Parameters
Returns
Option<T> option
int
When the option value IsSome
When the option value IsNone
Last updated
Was this helpful?