Skip to content

@clerc/utils

Type Aliases

Type AliasDescription

CamelCase

DeepPrettify

IsAny

LiteralUnion

MaybeArray

MaybeGetter

PartialRequired

Prettify

RequireExactlyOne

RequireExactlyOneOrNone

ToArray

UnionToIntersection

Variables

VariableDescription

isTruthy

Functions

FunctionDescription

camelCase

Converts a dash- or space-separated string to camelCase.

Not using regexp for better performance, because this function is used in parser.

formatFlagName

formatVersion

hasOwn

joinWithAnd

kebabCase

looseIsArray

objectIsEmpty

resolveValue

toArray

Released under the MIT license