TwistPHP Documentation

detectType

File path: dist/twist/Core/Helpers/View.helper.php
Namespace: Twist\Core\Helpers
Extends: Base

detectTypeDetect and correct the type of the inputs contents

Parameters

Name Type Description
$mxdValuemixedn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$mxdValue 'foo-123';

//Call the function detectType with the example vars
Twist::View() -> detectType($mxdValue);