(string: string)
| 2 | typeof value === "string" && value.length > 0; |
| 3 | |
| 4 | export const capitalizeFirstLetter = (string: string) => |
| 5 | isNonEmptyString(string) |
| 6 | ? string.charAt(0).toUpperCase() + string.slice(1) |
| 7 | : string; |
| 8 | |
| 9 | export const isInputElement = (element: Node) => { |
| 10 | const inputTagTypes = ["input", "textarea", "select", "checkbox"]; |
no test coverage detected