Test if the given node has the given TypeFlags set.
TypeFlags
declare const type: ts.Type;if (isTypeFlagSet(type, ts.TypeFlags.Any)) { // ...} Copy
declare const type: ts.Type;if (isTypeFlagSet(type, ts.TypeFlags.Any)) { // ...}
Test if the given node has the given
TypeFlags
set.