mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 12:30:01 -04:00
7 lines
109 B
JavaScript
7 lines
109 B
JavaScript
|
|
const value =
|
||
|
|
condition
|
||
|
|
? typeof number === 'string'
|
||
|
|
? Number(number)
|
||
|
|
: number
|
||
|
|
: null;
|