Remove old comment (#7220)

This commit is contained in:
Nicolò Ribaudo 2018-01-15 21:57:43 +01:00 committed by Brian Ng
parent 3c8d831fe4
commit 64dfb7574e

View File

@ -6,7 +6,6 @@ import isType from "./isType";
* Returns whether `node` is of given `type`.
*
* For better performance, use this instead of `is[Type]` when `type` is unknown.
* Optionally, pass `skipAliasCheck` to directly compare `node.type` with `type`.
*/
export default function is(type: string, node: Object, opts?: Object): boolean {
if (!node) return false;