Factor kind check to a separate function
Factor kind check to a separate function

TukekeSoft/TypeScript,jwbay/TypeScript,SaschaNaz/TypeScript,chuckjaz/TypeScript,erikmcc/TypeScript,basarat/TypeScript,kitsonk/TypeScript,erikmcc/TypeScript,basarat/TypeScript,Microsoft/TypeScript,donaldpipowitch/TypeScript,Eyas/TypeScript,synaptek/TypeScript,weswigham/TypeScript,microsoft/TypeScript,DLehenbauer/TypeScript,TukekeSoft/TypeScript,chuckjaz/TypeScript,nojvek/TypeScript,weswigham/TypeScript,nojvek/TypeScript,kitsonk/TypeScript,RyanCavanaugh/TypeScript,nojvek/TypeScript,basarat/TypeScript,Microsoft/TypeScript,minestarks/TypeScript,alexeagle/TypeScript,mihailik/TypeScript,Eyas/TypeScript,DLehenbauer/TypeScript,jwbay/TypeScript,basarat/TypeScript,jwbay/TypeScript,DLehenbauer/TypeScript,kpreisser/TypeScript,mihailik/TypeScript,Eyas/TypeScript,jwbay/TypeScript,microsoft/TypeScript,Microsoft/TypeScript,Eyas/TypeScript,weswigham/TypeScript,kitsonk/TypeScript,chuckjaz/TypeScript,alexeagle/TypeScript,nojvek/TypeScript,synaptek/TypeScript,erikmcc/TypeScript,synaptek/TypeScript,synaptek/TypeScript,TukekeSoft/TypeScript,RyanCavanaugh/TypeScript,donaldpipowitch/TypeScript,RyanCavanaugh/TypeScript,DLehenbauer/TypeScript,SaschaNaz/TypeScript,kpreisser/TypeScript,chuckjaz/TypeScript,kpreisser/TypeScript,alexeagle/TypeScript,minestarks/TypeScript,erikmcc/TypeScript,microsoft/TypeScript,donaldpipowitch/TypeScript,mihailik/TypeScript,SaschaNaz/TypeScript,minestarks/TypeScript,SaschaNaz/TypeScript,donaldpipowitch/TypeScript,mihailik/TypeScript