710 - One Check Function
by steen_hansen
HTML
<!DOCTYPE html>
<meta charset="utf-8" />
<title>710 One Check Function</title>
<div id='js-div' style="width:45%">
<a href='https://github.com/steenhansen/type-czech' target="_blank" class='git-hub'>GitHub Package</a>
<div id='js-code'>the javascript</div>
<br>
</div>
<div id="the-explanation" style="width:55%">
<div class='an-explantion'>710 One Check Function to Rule Them All</div>
<div id='explanation-text'>
<div id="react-root"></div>
<br>
A checking function can be used anywhere.
For example, TC_ONE_NUMBER() is used for checking both input types and return types of ten functions.
<br>
</div>
<div id="console-log">
<div class='a-title'>Console Output</div>
<div id='log-text'></div>
<br>
</div>
<!-- -----------------TYPE 1------------------------ -->
<script s r c="../web-resources/consolelog.js"></script>
<script src="https://cdn.jsdelivr.net/gh/steenhansen/type-czech@latest/web-resources/consolelog.js"></script>
<link r e l="stylesheet" href="../web-resources/type-czech.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/steenhansen/type-czech@latest/web-resources/type-czech.css">
<script src="https://unpkg.com/react/umd/react.development.js"></script>
<script src="https://unpkg.com/react-dom/umd/react-dom.development.js"></script>
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
<script s r c="../web-resources/TypeCzech.js"></script>
<script src="https://cdn.jsdelivr.net/gh/steenhansen/type-czech@latest/web-resources/TypeCzech.min.js"></script>
<!-- ------------------TYPE 1------------------------ -->
<div id='js-fiddles'>
<a title="Example-Contents"...