check method

bool check(
  1. Object? value
)

Returns true if the given value type matches type.

与えられたvalueのタイプがtypeと一致する場合はtrueを返します。

Implementation

bool check(Object? value) => value is T;