Skip to content

Commit afe303e

Browse files
committed
refactor(core): put docs and file names in order
1 parent d0c0f58 commit afe303e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/core/src/utils/validation.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@ export function validateContext(context: EventContext | undefined): boolean {
3939
}
4040

4141
/**
42-
* Returns true if value is a plain object (not null, array, Date, Map, etc.)
42+
* Checks if value is a plain object (not null, array, Date, Map, etc.)
4343
*
4444
* @param value - value to check
45+
* @returns `true` if value is a plain object, otherwise `false`
4546
*/
4647
export function isPlainObject(value: unknown): value is Record<string, unknown> {
4748
return Object.prototype.toString.call(value) === '[object Object]';
File renamed without changes.

0 commit comments

Comments
 (0)