blob: cd6fd458dabf6486ca45c3b30f42d0fd63cadfed [file] [log] [blame]
Jonah Williamsb15465f2021-03-09 15:55:02 -08001// Copyright 2014 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Ian Hicksonf3c25fa2021-03-16 13:58:02 -07005import 'package:test/test.dart' hide isInstanceOf;
6
7export 'package:test/test.dart' hide isInstanceOf;
Jonah Williamsb15465f2021-03-09 15:55:02 -08008
9/// A matcher that compares the type of the actual value to the type argument T.
Ian Hicksonf3c25fa2021-03-16 13:58:02 -070010TypeMatcher<T> isInstanceOf<T>() => isA<T>();