@types/is-regex
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Installation

npm install --save @types/is-regex

Summary

This package contains type definitions for is-regex (https://github.com/ljharb/is-regex).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-regex.

index.d.ts

/**
 * Returns whether the value is a valid `RegExp` object with the `[[RegExpMatcher]]` internal slot.
 */
declare function isRegex(value: any): value is RegExp;
export = isRegex;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Jordan Harband, and ExE Boss.

/@types/is-regex/

    Package Sidebar

    Install

    npm i @types/is-regex

    Weekly Downloads

    18,992

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    3.07 kB

    Total Files

    5

    Last publish

    Collaborators

    • types