How to get all blueprint fields of a page?

Hi all,

how to list all field keys of a page blueprint.
Like this: $page->blueprint()->fields()

thanks for help!

PHP has a function for this: PHP: array_keys - Manual

Ha, i did not know that this really works: $page->blueprint()->fields().
I typed an example that may fits the kirby logic but i did not test it :wink: