minetest.is_player

From Minetest Developer Wiki
Jump to: navigation, search

Syntax

minetest.is_player(obj)

Description

Checks if an object is a player or not.

Returns true, if `obj` is a player, or false otherwise.

Parameters

  • obj - The object to be checked.


Examples


This article is missing examples, feel free to add them.


Personal tools
Namespaces

Variants
Actions
Navigation
API
Toolbox