Documentation

BloodExtension extends Extension

An extension is the only way to add new functionality to Faker.

Tags
experimental

This interface is experimental and does not fall under our BC promise

Table of Contents

bloodGroup()  : string
Get a full blood group
bloodRh()  : string
Get a random resis value
bloodType()  : string
Get an actual blood type

Methods

bloodGroup()

Get a full blood group

public bloodGroup() : string
Tags
example

'AB+'

Return values
string

bloodRh()

Get a random resis value

public bloodRh() : string
Tags
example

'+'

Return values
string

bloodType()

Get an actual blood type

public bloodType() : string
Tags
example

'AB'

Return values
string

Search results