6 lines
135 B
JavaScript
6 lines
135 B
JavaScript
|
export const DEVICE_NAME_MAX_LENGTH = 15;
|
||
|
|
||
|
export function checkMaxLength(name){
|
||
|
return !(name.length > DEVICE_NAME_MAX_LENGTH);
|
||
|
}
|