Documents for @litert/utils-string
    Preparing search index...

    Interface IUnitInfo

    The options for the units used in the UnitParser.

    interface IUnitInfo {
        aliases?: readonly string[];
        name: string;
    }
    Index

    Properties

    Properties

    aliases?: readonly string[]

    The aliases of the unit.

    If the caseInsensitive option is set to true, the aliases will be converted to lower case.

    name: string

    The name of the unit.

    The name will not be changed even if caseInsensitive is set to true.