« 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: 8008fdeb966871ee22c60883d8695e78ec0f6030 (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', 'index'),
    defaultValue: 'null',
  });
}