MCPcopy Create free account
hub / github.com/Effect-TS/effect / isRegExp

Function isRegExp

packages/effect/src/Predicate.ts:1385–1387  ·  view source on GitHub ↗
(input: unknown)

Source from the content-addressed store, hash-verified

1383 * @since 3.9.0
1384 */
1385export function isRegExp(input: unknown): input is RegExp {
1386 return input instanceof RegExp
1387}
1388
1389/**
1390 * Composes two predicates or refinements into one.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected