safeCastStrict<R, V> static method
Implementation
static Option<R> safeCastStrict<R, V>(V value) {
if (value is R) return Some(value);
return const None();
}
static Option<R> safeCastStrict<R, V>(V value) {
if (value is R) return Some(value);
return const None();
}