Logo

Toolbox

GitHubGitHub (opens in a new tab)
  • Introduction
  • Getting Started
  • Array
    • compact
    • copy
    • ensureArray
    • getRandom
    • isEmpty
    • isLastIndex
    • isNullOrEmptyArray
    • joinPath
    • range
    • shuffle
    • toArray
    • uniq
  • Boolean
    • randomBool
  • Error
    • assert
    • assertNotNull
    • throwErr
  • Function
    • callAll
    • debounce
    • noop
    • not
    • sleep
    • throttle
    • tryOr
    • format-seconds
  • Guard
    • isBoolean
    • isEmptyObject
    • isFunction
    • isIterable
    • isMap
    • isNotNull
    • isNull
    • isObject
    • isPlainObject
    • isPromise
    • isSet
    • isString
    • isTruthy
  • Node
    • getNodeEnv
    • isDev
    • isProd
  • Nullable
    • bind
    • concatArrays
    • Asyncnullabletrycatch
    • Nullabletrycatch
  • Number
    • clamp
    • divide
    • inc
    • dec
    • fallbackNumber
    • isInRange
    • isNegative
    • isPositive
    • percent
    • randomInt
    • toDecimal
  • Object
    • clone
    • merge
    • pruneKeyWhen
    • pruneValueWhen
    • replace
  • Regex
    • escapeRegex
    • testRegex
  • Runtime
    • isBrowser
    • isBun
    • isDeno
    • isNodejs
    • isServer
  • String
    • comparePaths
    • crlfToLf
    • getInitials
    • isLowerCase
    • isNullOrEmptyString
    • joinPaths
    • removeLeadingSlashes
    • removeTrailingSlashes
    • toCamelCase
    • toCapitalCase
    • toKebabCase
    • toPascalCase
    • toSnakeCase
    • toSpaceCase
    • Fallback String
  • Type
    • getTypeOf
    • Nullable
  • Introduction
  • Getting Started
  • Array
    • compact
    • copy
    • ensureArray
    • getRandom
    • isEmpty
    • isLastIndex
    • isNullOrEmptyArray
    • joinPath
    • range
    • shuffle
    • toArray
    • uniq
  • Boolean
    • randomBool
  • Error
    • assert
    • assertNotNull
    • throwErr
  • Function
    • callAll
    • debounce
    • noop
    • not
    • sleep
    • throttle
    • tryOr
    • format-seconds
  • Guard
    • isBoolean
    • isEmptyObject
    • isFunction
    • isIterable
    • isMap
    • isNotNull
    • isNull
    • isObject
    • isPlainObject
    • isPromise
    • isSet
    • isString
    • isTruthy
  • Node
    • getNodeEnv
    • isDev
    • isProd
  • Nullable
    • bind
    • concatArrays
    • Asyncnullabletrycatch
    • Nullabletrycatch
  • Number
    • clamp
    • divide
    • inc
    • dec
    • fallbackNumber
    • isInRange
    • isNegative
    • isPositive
    • percent
    • randomInt
    • toDecimal
  • Object
    • clone
    • merge
    • pruneKeyWhen
    • pruneValueWhen
    • replace
  • Regex
    • escapeRegex
    • testRegex
  • Runtime
    • isBrowser
    • isBun
    • isDeno
    • isNodejs
    • isServer
  • String
    • comparePaths
    • crlfToLf
    • getInitials
    • isLowerCase
    • isNullOrEmptyString
    • joinPaths
    • removeLeadingSlashes
    • removeTrailingSlashes
    • toCamelCase
    • toCapitalCase
    • toKebabCase
    • toPascalCase
    • toSnakeCase
    • toSpaceCase
    • Fallback String
  • Type
    • getTypeOf
    • Nullable
Suggest a new function (opens in a new tab)Edit this page
String

String

comparePathscrlfToLfgetInitialsisLowerCaseisNullOrEmptyStringjoinPathsremoveLeadingSlashesremoveTrailingSlashestoCamelCasetoCapitalCasetoKebabCasetoPascalCasetoSnakeCasetoSpaceCase
isServercomparePaths

MIT 2023 Fullstacksjs Toolbox