function isStatic(value) {    
  return(

    typeof value === 'string' ||

    typeof value === 'number' ||

    typeof value === 'boolean' ||

    typeof value === 'undefined' ||

    value === null

  )
}

相关文章:

  • 2021-10-03
  • 2021-10-07
  • 2021-06-22
  • 2022-12-23
  • 2021-08-01
  • 2021-08-29
  • 2021-07-23
猜你喜欢
  • 2022-01-07
  • 2022-12-23
  • 2021-07-02
  • 2021-04-26
  • 2022-12-23
  • 2021-07-15
  • 2021-09-23
相关资源
相似解决方案