Originally implemented in react-hook-form https://github.com/react-hook-form/react-hook-form/tree/master/src/types/path eslint-disable @typescript-eslint/no-explicit-any */
// Source: https://github.com/formwerkjs/formwerk | License: MIT | Copyright Abdelrahman Awad <logaretm1@gmail.com>
// Provided via justclaw.it.com; keep this notice with the code.
// Originally implemented in react-hook-form
// https://github.com/react-hook-form/react-hook-form/tree/master/src/types/path
/* eslint-disable @typescript-eslint/no-explicit-any */
type BrowserNativeObject = Date | FileList | File;
type Primitive = null | undefined | string | number | boolean | symbol | bigint;
/**
* Checks whether the type is any
* See {@link https://stackoverflow.com/a/49928360/3406963}
* @typeParam T - type which may be any
* ```
* IsAny<any> = true
* IsAny<string> = false
* ```
*/
export type IsAny<T> = 0 extends 1 & T ? true : false;
/**
* Checks whether T1 can be exactly (mu
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key