Apidog Docs
πŸ‡ΊπŸ‡Έ English
  • πŸ‡ΊπŸ‡Έ English
  • πŸ‡―πŸ‡΅ ζ—₯本θͺž
HomeLearning CenterSupport CenterAPI References
HomeLearning CenterSupport CenterAPI References
Discord Community
Slack Community
X / Twitter
πŸ‡ΊπŸ‡Έ English
  • πŸ‡ΊπŸ‡Έ English
  • πŸ‡―πŸ‡΅ ζ—₯本θͺž
  1. Learning Center
  • Back to home
  • Dynamic values Modules
  • Airline
  • Animal
  • Color
  • Commerce
  • Company
  • Database
  • Datatype
  • Date
  • Finance
  • Food
  • Git
  • Hacker
  • Helpers
  • Image
  • Internet
  • Location
  • Lorem
  • Music
  • Number
  • Person
  • Phone
  • Science
  • String
  • System
  • Vehicle
  • Word
  1. Learning Center

Science

Module to generate science related entries.
Overview
Both methods in this module return objects rather than strings. For example, you can use {{$science.chemicalElementName}} to pick out the specific property you need.

chemicalElement#

Returns a random periodic table element.
The original faker.science.chemicalElement() method has been refined into three more precise variables:
{{$science.chemicalElementSymbol}}: Generates an chemicalElement Symbol.
{{$science.chemicalElementName}}: Generates an chemicalElement Name.
{{$science.chemicalElementAtomicNumber}}: Generates an chemicalElement AtomicNumber.
Returns: string
Examples

unit#

Returns a random scientific unit.
The original faker.science.unit() method has been refined into two more precise variables:
{{$science.unitName}}: Generates an unit name.
{{$science.unitSymbol}}: Generates an unit Symbol.
Returns: string
Examples

Previous
Phone
Next
String
Built with