$user->exists()

Checks if the user exists

  • return (boolean)

Example

<?php if($site->user('bastian')->exists()) {
    echo $site->user('bastian')->role();
}
?>

Is something missing or incorrect? Edit this page on Github…