hedera-web/package/usr/share/php/vn/hedera/util.php

16 lines
192 B
PHP
Raw Normal View History

<?php
namespace Vn\Hedera;
function checkToken ($token)
{
return preg_match ('/^[\w\-]+$/', $token);
}
function ifNull ($map, $key)
{
return isset ($map[$key]) ? $map[$key] : NULL;
}
?>