@nickyzj2023/utils
    Preparing search index...

    Function camelToSnake

    • 驼峰命名法转为下划线命名法

      Type Parameters

      • S extends string

      Parameters

      • str: S

      Returns CamelToSnake<S>

      camelToSnake("shouldComponentUpdate") // "should_component_update"