MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / isRock

Function isRock

examples/demo.php:5024–5027  ·  view source on GitHub ↗

@phpstan-assert-if-true Rock $value */

(mixed $value)

Source from the content-addressed store, hash-verified

5022
5023/** @phpstan-assert-if-true Rock $value */
5024function isRock(mixed $value): bool
5025{
5026 return $value instanceof Rock;
5027}
5028
5029/** @phpstan-assert-if-false Rock $value */
5030function isNotRock(mixed $value): bool

Callers 2

demoMethod · 0.85
runDemoAssertionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected