• Checks if value is classified as a RegExp object.

    Differences from lodash:

    • returns true for subclasses of RegExp

    Contribution to minified bundle size, when it is the only function imported:

    • Lodash: 1,152 bytes
    • Micro-dash: 69 bytes

    Parameters

    • value: any

    Returns value is RegExp