import { CnReadOnlyType } from '../types/cn-read-only-type'; export default function getValueType( value: unknown, ): CnReadOnlyType | undefined { if (typeof value === 'string') { return 'string'; } if (typeof value === 'number') { return 'number'; } if (typeof value === 'boolean') { return 'boolean'; } }