I just do very very basic thing but the result is also false: console.log("Check element "+ (element(txt_LoginUsername) instanceof ElementFinder) );
Check element false
But it gives the right result if I use the debug tool of webstorm.
I just update question after getting the answer
import {browser, ExpectedConditions as EC, $, $$, element, by,protractor,ElementFinder} from 'protractor'
console.log("element find when importing ElementFinder from 'protractor' and use ElementFinder"+(element(Welcome.txt_SelectOrg) instanceof ElementFinder));
console.log("element find when importing protractor from 'protractor' and use protractor.ElementFinder"+(element(Welcome.txt_SelectOrg) instanceof protractor.ElementFinder));
This is the result so the answer of Mirosław Zalewski is totally correct! But still have a question, what is the difference between ElementFinder and protractor.ElementFinder
element find when importing ElementFinder from 'protractor' and use ElementFinderfalse element find when importing protractor from 'protractor' and use protractor.ElementFindertrue