Skip to content

$age

Returns a sensible age for a human.

Options

  • type (optional) Demographic. One of (CHILD, TEEN, ADULT, SENIOR, DEFAULT).

Example

{
    "age": { "$age": "ADULT" }
}
{
    "age": 43
}