logo
Betty development documentation
Tests
Initializing search
    • Installation
    • Usage
      • Ancestry
      • Asset Management
      • The command line
      • Application configuration
      • Environment variables
      • Extensions
      • GEDCOM
      • npm
      • Projects
      • Templating
        • Filters
        • Globals
        • Tests
      • Translations
    • Development
    • API Documentation
    • About

    Tests¶

    Jinja2 tests are like function calls, and specifically designed to check a condition and return a boolean. In addition to Jinja2’s built-in tests, Betty provides the following:

    • date_range

    • end_of_life_event

    • entity

    • has_files

    • has_generated_entity_id

    • has_links

    • linked_data_dumpable

    • private

    • public

    • start_of_life_event

    • subject_role

    • user_facing_entity

    • witness_role

    Previous Globals
    Next Translations
    © Copyright Bart Feenstra and contributors.
    Created using Sphinx 7.3.7. and Sphinx-Immaterial