« get me outta code hell

inputAvailabilityCheckMode.js « control-flow « composite « data « src - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/composite/control-flow/inputAvailabilityCheckMode.js
blob: d74a1149fe142d4e65351b15588fe5857870986d (plain)
1
2
3
4
5
6
7
8
9
import {input} from '#composite';
import {is} from '#validators';

export default function inputAvailabilityCheckMode() {
  return input({
    validate: is('null', 'empty', 'falsy'),
    defaultValue: 'null',
  });
}