Class WhiteType
Description of WhiteType:
These tags use string values; these describe the player types. The value
"human" should be used for a person while the value "program" should be used
for algorithmic (computer) players.
-
pgn\tags\Tag
-
pgn\tags\WhiteType
Methods summary
public
the
|
|
public
boolean
|
#
validate( string $data )
Parameters
Returns
boolean
Assert("*")
=== false
Assert("-")
=== false
Assert("4.1.2")
=== false
Assert("a")
=== false
Assert("asdf")
=== false
Assert("human")
=== true
Assert("person")
=== false
Assert("program")
=== true
Assert("software")
=== false
Assert(3.1)
=== false
Assert(null)
=== false
Overrides
|
public static
string
|
#
validPattern( )
Returns
string Valid Regular Expression Pattern for PGN Rounds
Overrides
|