TwistPHP Documentation

detectType

File path: dist/twist/Core/Utilities/View.utility.php
Namespace: Twist\Core\Utilities
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);