How to check if a value is a character in JS?
I do not see the method Symbol.isSymbol(). My test (x instanceof Symbol)doesn't work either.
Symbol.isSymbol()
(x instanceof Symbol)
Check it out with typeof:
typeof x === 'symbol'
Source: https://habr.com/ru/post/1686592/More articles:Laravel - Save HTML response Dom-Parser for the database - domTypical v7 reduction forms with TypeScript and React - javascriptPerl Fast CGI: Do you ever get out of the loop? - perlWhy is synchronization blocked by ShowModal? - delphiSome Xcode custom key bindings do not work - xcodePart of the selected text is hidden when selecting the option - htmlCSS photo / thumbnail gallery only - htmlperform operation opposite pandas ffill - pythonOne F # 4.1 compiler includes targetPlatform netstandard, the other non-f #Replicate a string from a dataset n times in Apache Spark using Java - javaAll Articles