• Tests whether the target string is a valid MongoID

    Example

    expect(isMongoId('507f1f77bcf86cd799439011').value).toBeTruthy()
    

    Parameters

    • target: string

      The target string

    Returns Result<boolean | undefined>

Generated using TypeDoc