App\Libraries\Utils::startsWith PHP Method

startsWith() public static method

public static startsWith ( $haystack, $needle )
    public static function startsWith($haystack, $needle)
    {
        return $needle === '' || strpos($haystack, $needle) === 0;
    }