Missing field methods in 2.1

The new feature field methods are awesome, especially for the project I’m working on right now on my local environment.

From the docs

$page->myfield()->isNotEmpty();
$page->myfield()->isFalse();
$page->myfield()->isTrue();
$page->myfield()->toPage()->title();
$page->myfield()->toFile()->filename();
$page->myfield()->toStructure();
$page->myfield()->link();

I’m missing some methods…

isInt()

Return true if the field is a number / integer.

$page->myfield()->isInt();

isBool()

Return true if the field is true or false.

$page->myfield()->isBool();

isMatch()

Return true if the regex match.

$page->myfield()->isMatch('Some regex');

If for some reason this will NOT be in the core, is it possible to create them without modifying the core? If so, how? Thanks!

You can learn here how to create your own custom field methods: http://getkirby.com/docs/advanced/field-methods