Skip to content

Kirby 4.5.0

$user->hasCode()

Checks if the Files collection has any code files

$user->hasCode(): bool

Return type

bool

Parent class

Kirby\Cms\User