IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
312B

  1. function wbFormatSpecialValue(value) {
  2. if (value === null) return (<i>null</i>);
  3. if (value === undefined) return (<i>undefined</i>);
  4. if (typeof(value) === 'boolean') return (<i>{ String(value) }</i>);
  5. if (value === '') return '-';
  6. return String(value);
  7. }
  8. export default wbFormatSpecialValue;