Skip to content

Commit

Permalink
Docs: 2.2.27 Version.305 func.
Browse files Browse the repository at this point in the history
  • Loading branch information
pandaoh committed Nov 12, 2024
1 parent 922c318 commit 7092884
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Others/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -659,9 +659,9 @@ export function getDataStr(value: any, defaultValue = '-', prefix = '', suffix =
}

/**
* 清理对象中的空值,将 `null` 和 `undefined` 删除或替换
* 清理对象中的空值,将 `null` 和 `undefined` 删除或替换
* @param obj 需要清理的对象
* @param replacement 替换值,默认为 `undefined`,如果传入值则替换为该值
* @param replacement 替换值,默认为 `undefined`,如果传入值则替换为该值
* @returns
* @example
* clearObject({ a: 1, b: null, c: undefined, d: '', e: ' ' });
Expand Down
4 changes: 2 additions & 2 deletions src/String/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @Author: HxB
* @Date: 2022-04-26 15:45:48
* @LastEditors: DoubleAm
* @LastEditTime: 2024-11-12 16:17:40
* @LastEditTime: 2024-11-12 16:48:02
* @Description: 字符串常用函数
* @FilePath: \js-xxx\src\String\index.ts
*/
Expand Down Expand Up @@ -972,7 +972,7 @@ export function loadStr(str: string, params: any, emptyStr?: string): string {
}

/**
* 将输入字符串分割为字符串列表,基于换行符、回车符和可选的空格
* 将输入字符串分割为字符串列表,基于换行符、回车符和可选的空格
* @param str 要处理的输入字符串
* @param separatorIncludesSpace 默认 false,是否将空格作为分隔符之一
* @example
Expand Down

0 comments on commit 7092884

Please sign in to comment.