mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-16 05:39:28 +00:00
Make tab width 2 spaces (#445)
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
export const naturalCompare: (left: string, right: string) => number =
|
||||
require('string-natural-compare').caseInsensitive;
|
||||
require('string-natural-compare').caseInsensitive;
|
||||
|
||||
export function notEmpty(arg: string | undefined | null): arg is string {
|
||||
return !!arg;
|
||||
return !!arg;
|
||||
}
|
||||
|
||||
export function firstToLowerCase(what: string): string {
|
||||
return what.charAt(0).toLowerCase() + what.slice(1);
|
||||
return what.charAt(0).toLowerCase() + what.slice(1);
|
||||
}
|
||||
|
||||
export function firstToUpperCase(what: string): string {
|
||||
return what.charAt(0).toUpperCase() + what.slice(1);
|
||||
return what.charAt(0).toUpperCase() + what.slice(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user