From 925ee3be50f52707a8674c319f9b42f271f84470 Mon Sep 17 00:00:00 2001 From: Sojin Park Date: Sun, 21 Jul 2024 10:56:38 +0900 Subject: [PATCH] docs: Add support for Deno for isArrayLike --- src/predicate/isArrayLike.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/predicate/isArrayLike.ts b/src/predicate/isArrayLike.ts index 4a98700a..0e188141 100644 --- a/src/predicate/isArrayLike.ts +++ b/src/predicate/isArrayLike.ts @@ -1,4 +1,4 @@ -import { isLength } from './isLength'; +import { isLength } from "./isLength.ts"; /** * Checks if `value` is array-like. @@ -15,5 +15,6 @@ import { isLength } from './isLength'; * isArrayLike(undefined); // false */ export function isArrayLike(value: unknown): value is ArrayLike { - return value != null && typeof value !== 'function' && isLength((value as ArrayLike).length); + return value != null && typeof value !== "function" && + isLength((value as ArrayLike).length); }