Jonah Williams | b15465f | 2021-03-09 15:55:02 -0800 | [diff] [blame] | 1 | // 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 Hickson | f3c25fa | 2021-03-16 13:58:02 -0700 | [diff] [blame] | 5 | import 'package:test/test.dart' hide isInstanceOf; |
| 6 | |
| 7 | export 'package:test/test.dart' hide isInstanceOf; |
Jonah Williams | b15465f | 2021-03-09 15:55:02 -0800 | [diff] [blame] | 8 | |
| 9 | /// A matcher that compares the type of the actual value to the type argument T. |
Ian Hickson | f3c25fa | 2021-03-16 13:58:02 -0700 | [diff] [blame] | 10 | TypeMatcher<T> isInstanceOf<T>() => isA<T>(); |