❯ ~/robonen/tools
core
  • stdlibapi
    ❯
    guide
    • Introduction
    • ❯AnyFunction
    • ❯Arrayable
    • ❯Collection
    • ❯HasSpaces
    • ❯isArray
    • ❯isBigInt
    • ❯isBoolean
    • ❯isDate
    • ❯isError
    • ❯isFunction
    • ❯isMap
    • ❯isNull
    • ❯isNumber
    • ❯isObject
    • ❯isPromise
    • ❯isRegExp
    • ❯isSet
    • ❯isString
    • ❯isSymbol
    • ❯isUndefined
    • ❯isWeakMap
    • ❯isWeakSet
    • ❯MaybePromise
    • ❯Path
    • ❯PathToPartialType
    • ❯PathToType
    • ❯ReadonlyArrayable
    • ❯Stringable
    • ❯toString
    • ❯Trim
    • ❯UnionToIntersection
    • ❯VoidFunction
    • ❯Whitespace
  • platformapi
  • fetchapi
  • encodingapi
  • crdtapi
vue
  • vueapi
  • writekitapi
  • primitivesui
configs
  • eslintguide
  • tsconfigguide
  • tsdownguide
infra
  • renovateguide
@robonen/stdlib/isRegExp
V

isRegExp

v0.0.2

Check if a value is a regexp

Source

Signature

ts
const isRegExp: (value: unknown) => value is RegExp
on this page
  • Signature