1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-13 02:05:40 +08:00

7 lines
109 B
JavaScript
Raw Normal View History

const value =
condition
? typeof number === 'string'
? Number(number)
: number
: null;