@@ -86,7 +86,7 @@ export type TupleOf<T extends readonly Predicate<unknown>[]> = {
8686 * Return a type predicate function that returns `true` if the type of `x` is `TupleOf<T>`.
8787 *
8888 * ```ts
89- * import is from "./is .ts";
89+ * import { is } from "https://deno.land/x/unknownutil@$MODULE_VERSION/mod .ts";
9090 *
9191 * const predTup = [is.Number, is.String, is.Boolean] as const;
9292 * const a: unknown = [0, "a", true];
@@ -129,7 +129,7 @@ export type UniformTupleOf<
129129 * Return a type predicate function that returns `true` if the type of `x` is `UniformTupleOf<T>`.
130130 *
131131 * ```ts
132- * import is from "./is .ts";
132+ * import { is } from "https://deno.land/x/unknownutil@$MODULE_VERSION/mod .ts";
133133 *
134134 * const a: unknown = [0, 1, 2, 3, 4];
135135 * if (is.UniformTupleOf(5)(a)) {
@@ -223,7 +223,7 @@ export type ObjectOf<T extends RecordOf<Predicate<unknown>>> = FlatType<
223223 * Otherwise, the number of keys of `x` must be greater than or equal to the number of keys of `predObj`.
224224 *
225225 * ```ts
226- * import is from "./is .ts";
226+ * import { is } from "https://deno.land/x/unknownutil@$MODULE_VERSION/mod .ts";
227227 *
228228 * const predObj = {
229229 * a: is.Number,
@@ -310,7 +310,7 @@ export function isAsyncFunction(
310310 * Return `true` if the type of `x` is instance of `ctor`.
311311 *
312312 * ```ts
313- * import is from "./is .ts";
313+ * import { is } from "https://deno.land/x/unknownutil@$MODULE_VERSION/mod .ts";
314314 *
315315 * const a: unknown = new Date();
316316 * if (is.InstanceOf(Date)(a)) {
@@ -396,7 +396,8 @@ export function isLiteralOf<T extends Primitive>(literal: T): Predicate<T> {
396396 * Return a type predicate function that returns `true` if the type of `x` is one of literal type in `preds`.
397397 *
398398 * ```ts
399- * import is from "./is.ts";
399+ * import { is } from "https://deno.land/x/unknownutil@$MODULE_VERSION/mod.ts";
400+ *
400401 * const a: unknown = "hello";
401402 * if (is.LiteralOneOf(["hello", "world"] as const)(a)) {
402403 * // a is narrowed to "hello" | "world"
@@ -424,7 +425,7 @@ export type OneOf<T> = T extends Predicate<infer U>[] ? U : never;
424425 * Return a type predicate function that returns `true` if the type of `x` is `OneOf<T>`.
425426 *
426427 * ```ts
427- * import is from "./is .ts";
428+ * import { is } from "https://deno.land/x/unknownutil@$MODULE_VERSION/mod .ts";
428429 *
429430 * const preds = [is.Number, is.String, is.Boolean];
430431 * const a: unknown = 0;
@@ -457,7 +458,7 @@ export type AllOf<T> = UnionToIntersection<OneOf<T>>;
457458 * Return a type predicate function that returns `true` if the type of `x` is `AllOf<T>`.
458459 *
459460 * ```ts
460- * import is from "./is .ts";
461+ * import { is } from "https://deno.land/x/unknownutil@$MODULE_VERSION/mod .ts";
461462 *
462463 * const preds = [is.ObjectOf({ a: is.Number }), is.ObjectOf({ b: is.String })];
463464 * const a: unknown = { a: 0, b: "a" };
@@ -488,7 +489,7 @@ export type OptionalPredicate<T> = Predicate<T | undefined> & {
488489 * Return a type predicate function that returns `true` if the type of `x` is `T` or `undefined`.
489490 *
490491 * ```ts
491- * import is from "./is .ts";
492+ * import { is } from "https://deno.land/x/unknownutil@$MODULE_VERSION/mod .ts";
492493 *
493494 * const a: unknown = "a";
494495 * if (is.OptionalOf(is.String)(a)) {
0 commit comments